Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?

It's a small bot-only ActivityPub server in a single PHP file.

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

It can be followed, post images, allow quote posts, etc.

Is there anything else you would like a bot-server to be able to do?

Terence Eden / ActivityBot · GitLab

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

GitLab

@Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.

So the outbox should have "type" => "Create", and the Object will specify the type it is

@samedwards Interesting. Could you point out where it says that?
(Not saying you're wrong; saying I sometimes have difficulty finding the right spec!)

@Edent https://www.w3.org/TR/activitypub/#outbox

> The outbox stream contains activities the user has published

And then an example of a Create activity on a Note https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create

ActivityPub

The ActivityPub protocol is a decentralized social networking protocol based upon the [ActivityStreams] 2.0 data format. It provides a client to server API for creating, updating and deleting content, as well as a federated server to server API for delivering notifications and content.

@samedwards Aha! Thanks.

So does this look right to you?
http://example.viii.fi/outbox

@Edent Yup, that looks like what I'd expect to see, and mirrors Mastodon as well, ie. https://mastodon.social/users/Edent/outbox?page=true