@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
@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 
@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
@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 
@Edent No, thank you for making this 
https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
It is served by an instance of your bot? The value of inReplyTo in 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?
@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?
@edent@mastodon.social <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=42a4d91a3c1" title="
" /> I was passing null around like candy but some implementations choke on that. In general, tolerance of odd values in cc is well handled, but I would just omit or send [].
@threkk the bot can now send Delete messages. They're processed successfully by Mastodon.social - so I assume they work elsewhere
Will have a think about editing.
@Edent @silverpill don't use nulls. Just omit it.
@Edent wow, that was fast, thank you!
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy