Email or username:

Password:

Forgot your password?
Top-level
⊗-55214 greeeeen
"reactions": [
{
"name": "celeste_hearts_non_binary@mk.absturztau.be",
"count": 1,
"me": false,
"url": "https://content.mastodon.catgirl.cloud/cache/custom_emojis/images/000/205/878/original/fbf0bd054ea5fed8.gif",
"static_url": "https://content.mastodon.catgirl.cloud/cache/custom_emojis/images/000/205/878/static/fbf0bd054ea5fed8.png"
},
{
"name": "longiesstististist_wrench",
"count": 1,
"me": false,
"url": "https://content.mastodon.catgirl.cloud/custom_emojis/images/000/192/643/original/3c6e4f7d3765b4f8.webp",
"static_url": "https://content.mastodon.catgirl.cloud/custom_emojis/images/000/192/643/static/3c6e4f7d3765b4f8.png"
}
],

okay. so the api is fundamentally incompatible with the concept of non-emoji reactions. no willy shenanigans for me

3 comments
⊗-55214 greeeeen

i honestly didn't expect constructing a name like celeste_hearts_non_binary@mk.absturztau.be to be the most difficult part of implementing the api...

in activitypub, the emojies don't actually have to be associated with an instance at all :neobot_error:

⊗-55214 greeeeen
{
"id": "https://emoji.122.hu/neocat_o_o.png",
"type": "Emoji",
"name": ":neocat_o_o:",
"updated": "2025-03-22T17:03:40Z",
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "https://emoji.122.hu/neocat_o_o.png"
}
},

like this emoji for example. what do i do if i receive that as a reaction? there is no instance to associate it with. emoji.122.hu is not an instance. some software allows reacting with foreign emoji, so i can't even use the actor's instance for this

{
"id": "https://emoji.122.hu/neocat_o_o.png",
"type": "Emoji",
"name": ":neocat_o_o:",
"updated": "2025-03-22T17:03:40Z",
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "https://emoji.122.hu/neocat_o_o.png"
}
},

like this emoji for example. what do i do if i receive that as a reaction? there is no instance to associate it with. emoji.122.hu is not an instance. some software allows reacting with foreign emoji, so i can't even use the actor's...

greeeeeeeen :blobcatpresentgreen: (lonely edition)

getting instance names in activitypub seems to be a non-trivial task actually

/* "LIKE AN ANIMAL" */
xs *domain = xs_split(id, "/");
xs *user   = xs_fmt("@%s@%s", username, xs_list_get(domain, 2));

snac does this "LIKE AN ANIMAL"

Go Up