💾 Archived View for circumlunar.thebackupbox.net › ~epoch › blog › activity-pub-8 captured on 2024-06-20 at 11:50:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

activity pub (lemmy)

I wanted to be able to find a post and just hit a "like" button to upvote them directly from my desktop.

Found out that lemmy is kind of picky with the Accept header.

If you send

Accept: application/activity+json

it replies with json.

if you send

Accept: application/activity+json, application/ld+json

it replies with html...

anyway. after patching ap-signed-get to use the "right" accept header,

sending a like now works from a bookmarklet.

still haven't figured out what is wrong with my attempts at commenting.

can't be fucked to look into it right now.