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.
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.
How to markup
Markup a reacji response post as follows:
Post a reply where the content is a single emoji character. Note: if there is html in the content, it can mess with emoji detection, so you should use p-content, rather than e-content for reacji reply posts.
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.
Examples of receiving and displaying reacji:
IndieWeb Reacji Posts
reply posts consisting of a single emoji character.
- 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.
Besides Slack, individuals have started to post reacjis on other silos.
Twitter seems ready to roll out official support for 'reacji' in the near future:
Until then, people have been experimenting on their own...
There are examples of individuals posting reacji as tweets (reacjweets as it were)
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
- some concept/design background information
- https://www.facebook.com/tantek.celik/posts/10102142524051423 (requires login)
2017-05-03 New feature prompt to "React to a Comment":
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.
- 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.
- 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.) - Ryan Barrett