Hey #ActivityPub friends.
-
@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
@samedwards got it đ
-
@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
@samedwards Aha! Thanks.
So does this look right to you?
http://example.viii.fi/outbox -
@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
-
undefined pfefferle@mastodon.social shared this topic
undefined hongminhee@hollo.social shared this topic
-
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?
@Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.
-
@Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.
@threkk I'll have a think about how I could do that. Thanks đ
-
@threkk I'll have a think about how I could do that. Thanks đ
@Edent No, thank you for making this <3
-
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?
https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
It is served by an instance of your bot? The value of
inReplyToin this document is an empty string, which is not a valid URI. -
https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
It is served by an instance of your bot? The value of
inReplyToin this document is an empty string, which is not a valid URI.@silverpill good spot!
I assume if it isn't a reply, the field should be excluded?Or should it be something else?
-
@silverpill good spot!
I assume if it isn't a reply, the field should be excluded?Or should it be something else?
@edent@mastodon.social I've learned that it should be excluded altogether, and not a null value
-
-
@silverpill @julian @general
Ah, I assume that `cc` should also be null if it isn't copied to anyone? -
@silverpill @julian @general
Ah, I assume that `cc` should also be null if it isn't copied to anyone?@edent@mastodon.social :shrug: I was passing
nullaround like candy but some implementations choke on that. In general, tolerance of odd values inccis well handled, but I would just omit or send[].