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:

Upload video (probably easy)
8.3%
Edit posts (probably hard)
20.8%
Set "Content Warning" (probably medium)
70.8%
Something else (leave a comment)
0%
Poll ended at .
Terence Eden / ActivityBot · GitLab

A single PHP file which acts as a basic ActivityPub bot server.

GitLab

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?

https://gitlab.com/edent/activity-bot/

Terence Eden / ActivityBot · GitLab

A single PHP file which acts as a basic ActivityPub bot server.

GitLab

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/

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", …

Terence Eden’s Blog
@Edent guess what's going to happen in about 2 years time...