💾 Archived View for thebackupbox.net › ~epoch › blog › activity-pub-8 captured on 2024-12-17 at 10:11:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-07-09)
-=-=-=-=-=-=-
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.