RE: https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
Thanks for all the suggestions. I've now implemented multiple images.
Next, I'll see if I can support updating or deleting posts.
RE: https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
Thanks for all the suggestions. I've now implemented multiple images.
Next, I'll see if I can support updating or deleting posts.
OK! Posts and their attachments can now be deleted from #ActivityBot.
Source code: https://gitlab.com/edent/activity-bot/
Taking a little break for now, so you get to vote on the next feature:
I've added video (and audio) uploads to #ActivityBot. It also now supports content warnings.
For my next trick - edits to existing posts.
Does anyone have a simple #ActivityPub guide showing how an update message is supposed to look & propagate?
I'm a fucking idiot!
Searched for "ActivityPub Update Example" and one of the first results was…
A blog I wrote two years ago!
https://shkspr.mobi/blog/2024/03/how-updates-work-in-activitypub-mastodon/

I didn't realise this, so I'm documenting it to stop other people making the same silly mistake that I did. Messages in ActivityPub have two distinct ID strings. Here's a (truncated) view of what happens when I send a new message on Mastodon: JSON "id": "https://mastodon.social/users/Edent/statuses/1234567890/activity", "type": "Create", …