Reacji
De Mi caja de notas
Révision datée du 4 avril 2018 à 04:03 par Xtof (discussion | contributions) (Page créée avec « Category:PostType {{stub}} '''<dfn>reacji</dfn>''' is an emoji reaction, the use of a single emoji character in response to a post, introduced as a fe... »)
Cet article est une ébauche. Vous pouvez m'aider à l'améliorer et le compléter. Merci.
reacji is an emoji reaction, the use of a single emoji character in response to a post, introduced as a feature by Slack[1].
For example:
The row(s) of buttons with icons at the bottom indicate the reacji that the post has received, with the numbers inside them showing the counts of how many of each reacji has been received.
Why
Why should you support receiving reacji and displaying them?
So people can send you reacji and have it show up? E.g. a 🎂 for your birthday, or different kinds of reactions instead of just a "like".
How to
How to markup
Markup a reacji response post as follows:
Post a reply (How to markup) where the content is a single emoji character. Thus u-in-reply-to
is required.
Note: if there is HTML in the content property, it may mess with emoji detection, so you should use p-content
, rather than e-content
for reacji reply posts.
(complete h-entry reacji code example would be nice here, perhaps with the 🎂 as noted above)
In addition, if your reacji is at least a somewhat positive approval, you may want to add a u-like-of
class (in addition to u-in-reply-to
) to your link to the original post, so that even if the receiver only supports likes, they can count your response as a like, until they add support for receiving reacji.
(complete h-entry reacji as a positive response code example would be nice here, perhaps with a thumbs-up or heart or smileyface emoji)
How to receive and display
You can detect a reacji reply post by inspecting any incoming reply to see if it is a single emoji character. This is harder than it seems as there are many possible emoji sets and some emoji can consist of multiple characters combined. Just looking for the single character emoji will cover most emoji however.
- Be sure to remove whitespace as there may be some extra at the beginning or end unintentionally
- brid.gy backfeeds twitter replies with the @username at the front, you may want to strip this
- You may want to strip HTML tags to make sure they don't prevent you recognizing an emoji
Once you have detected the reacji and what emoji it is, display it as a reaction like you display likes, followed by the count next to it or stamped on it like in the Slack example above.
IndieWeb Examples
Examples of receiving and displaying reacji:
Ben Roberts
Ben Roberts has reacji in Postly as of 2015-12-16 (his birthday, send him a 🎂) https://ben.thatmustbe.me/note/2015/12/8/2/
IndieWeb Reacji Posts
reply posts consisting of a single emoji character.
Aaron Parecki
Aaron Parecki has been posting reacji since 2015-12-16.
Tantek
Tantek Çelik has been posting reacji since 2015-12-16.
- http://tantek.com/2015/350/f1
- is also a like post (hence the /f in the URL) for fallback purposes, so that targets that understand likes but not reacji at least get the positive sense of the reacji being communicated. This method only makes sense for like-like reacji, but that's an acceptable limitation.
Sebastiaan Andeweg
Modèle:Sebsel sends reacji since 2017-02-20 and displays received reacji in a facepile since 2017-03-12.
Greg V
Modèle:Myfreeweb has been displaying reacji since 2016-03-21.
Peter Molnar
Modèle:Petermolnar used to display reacji with Wordpress, then had them removed; now they are back again, but since it's a static site, they are display with significant delays - 2017-06-01
Silo Examples
Besides Slack, individuals have started to post reacjis on other silos.
Slack
Slack showing reactions: Fichier:Slack reaction display.png
Emoji reaction selector: 200px
Twitter seems ready to roll out official support for 'reacji' in the near future:
Until then, people have been experimenting on their own...
reacjweets
There are examples of individuals posting reacji as tweets (reacjweets as it were)
emoji survey
A tweet author can simulate a limited curated set of reacji by posting a survey with only single-emoji responses. E.g.
Facebook has reacji (Path-style, as a small set of emoji-like graphics) as an extension of "Like" and calls them reactions. Supported since 2016-02-24 on posts, and since 2017-05-03 on comments. emoji and text (on hover) equivalents:
- 👍 like
- ❤️ love
- 😆 haha
- 😮 wow
- 😢 sad
- 😠 angry
Articles:
- https://newsroom.fb.com/news/2016/02/reactions-now-available-globally/
- some concept/design background information
Examples:
- https://www.facebook.com/tantek.celik/posts/10102142524051423 (requires login)
2017-05-03 New feature prompt to "React to a Comment":
github
Path
Path has had limited reacji, as a small set of emoji-like graphics, since (??? their launch) years ago, and was likely the first silo to do so.
(need screenshot)
Implementations
Libraries
- Ben Roberts made a PHP library for determining if a string is a "single emoji" (a harder problem than it seems) available at https://github.com/dissolve/single-emoji-recognizer
- granary can fetch and convert Facebook reactions to reacji.
Services
Criticism
- We should call this reactions instead of reacji. The rest of the industry already does - Slack, Facebook, GitHub, etc. Common terminology is more valuable than minor semantic differences. (Lots more discussion in IRC.) - Modèle:Snarfed
History
Slack reacji
Slack was first to ship a built-in reacji feature that allows anyone to respond to any Slack message with a single emoji, which are then tallied like votes.