2024-04-07 15:23:25
2024-04-07 10:17:13
2024-04-07 09:51:27
7691736
Trying to follow this blog post: https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
Anyone see anything particularly objectionable about this record that'd make Mastodon deny this record's very existence? (it gives a 404 not found)
{<br> "context": [<br> "https://www.w3.org/ns/activitystreams",<br> "https://w3id.org/security/v1"<br> ],<br> "id": "https://floatsocial.mizah.xyz/users/mizah",<br> "inbox": "https://floatsocial.mizah.xyz/users/mizah/inbox/",<br> "preferredUsername": "mizah",<br> "publicKey": {<br> "id": "https://floatsocial.mizah.xyz/users/mizah#main-key",<br> "owner": "https://floatsocial.mizah.xyz/users/mizah/",<br> "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyKR41N0v5zbLa2UT+8Lu\nrgIzWdxzRato3AWsslD4+0cArpTLzGe9fyT3Bi820Ow+5DOTeYSv/E2tqJa8Saiv\nVKntwWhgWmqOtzvdkgv1c03kbqrH5ScGXnjV5Fzu5Dpf4Pjp//llZomxU/Nf4bKI\nBiuRiSeyGCvblREj6Z27se94K+6EmhkeXbk0364EJjlaDdq5Xd5NO+dz6+aeQiqd\n+PpizIzYwHXBusbMzVExSGHlKi7bp2H6+IEo88/YwlBL6HLDhZO8N/yeVCwkjX3n\nYbNduCp71qaJTN/yb8sa463RcsO1d32fk6pEukXmDvgJIqYfzY+OdIK2idfM4QBK\nqQIDAQAB\n-----END PUBLIC KEY-----\n"<br> },<br> "type": "Person"<br>}<br>
Trying to follow this blog post: https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
#activitypub #mastodon #programming #mastodev #activitypubdev
How to implement a basic ActivityPub server
Today we’ll be looking at how to connect the protocols powering Mastodon in the simplest way possible to enter the federated network.Mastodon Blog
This entry was edited (3 weeks ago)
Helge
in reply to Mizah • • •Missing outbox. The outbox doesn't have to exist, but I believe that Mastodon et al. check for the existence of the property.
Also you need to have a matching webfinger endpoint for Mastodon to find it.
Helge
in reply to Helge • • •Mizah
in reply to Helge • • •@helge Ah, is that new? The blog post mentions that "You need to include an inbox even if you don’t plan on receiving messages in response, because for legacy purposes Mastodon doesn’t acknowledge inbox-less actors as compatible."
But apparently that includes the outbox as well?
I'll go some poking around; I do have a webfinger but maybe there's a slash too much in there too.
Mizah
in reply to Mizah • • •... Show more...
Still 404... The URLs look correct?
Helge
in reply to Mizah • • •It's the content-type. It needs to be set to either
application/activity+json
orapplication/ld+json; profile="https://www.w3.org/ns/activitystreams"
Also if you don't know it yet, I created a tool to verify if the HTTP signature work https://verify.funfedi.dev/?actor_uri=mizah%40floatsocial.mizah.xyz . It lacks the above check (I'll probably add it at one point).
Verify your Fediverse Actor
verify.funfedi.dev