Producing a visual representation of Mastodon interactions with JS
Find a file
Oneric f5c2fb7f2d Implement support for *oma’s emoji reactions
Like in *key, *oma users can react with arbitrary emojis.
Unlike in *key, a single user can add multiple emoji reactions
to a single post and favouriting still exists as a separate concept.

By using only the Mastodon API for *oma, favourites still get
interpreted but emoji reactions aren’t taken into account at all.
Fix this by adding support for the relevant Pleroma APIs.
To avoid a bias towards fav+react or multiple reacts on a single post
and to be more similar to connection strengths in Mastodon and *key,
aggregate reacts and favs and count them only once per per user and
post.

It is not clear whether the existence of a non-empty
pleroma/emoji_reactions field in notes data already implies support for
the reactions API endpoint. It at least seems sensible and would allow
to skip the initial feature metadata check, but let’s stick to the safe
approach for now.

Fedibird also supports emoji reacts and (like Akkoma >= 3.2.0) provides
the emoji_reactions sections at the toplevel of notes with an array of
account IDs included for every reaction. At first glance Fedibird
doesn't seem to provide a /reactions API or similar with more detailed
user info directly included. Supporting Fedibird would thereofore
require additional user info lookups at the end.
This commit makes no attempt at supporting Fedibird or
taking advantage of the account_ids array for Akkoma.

Co-authored-by: Natty <natty.sh.git@gmail.com>
2023-07-22 16:56:35 +02:00
create-circle.js Implement support for *oma’s emoji reactions 2023-07-22 16:56:35 +02:00
image.js Added Misskey support and labels 2023-07-20 01:16:22 +02:00
index.html Implement support for *oma’s emoji reactions 2023-07-22 16:56:35 +02:00
mieke_bg.jpg MIEKE KRÖGER 2022-11-20 13:03:18 +01:00
README.md Added Misskey support and labels 2023-07-20 01:16:22 +02:00
style.css Changed API call to get more results 2022-11-20 16:18:38 +01:00

Mastodon-Circles

Producing a visual representation of Mastodon interactions with JS

A fork of https://github.com/andigandhi/Mastodon-Circles