56
Need help implementing ActivityPub - getting inconsistent results across platforms
(blenderdumbass.org)
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)
I'm not the most knowledgeable about Mastodon's APub implementation, but having a look at the
Actor
of that profile, it might be because it's invalid JSON-LD. Now, Mastodon doesn't actually do proper JSON-LD checks, you can follow PieFed profiles from Mastodon and they don't produce proper JSON-LD, but they do include"https://w3id.org/security/v1"
in their@context
, and doing a code search of Mastodon's source code does show some checks for if that's included.Lemmy's I am familiar with and irrc it doesn't even check if
@context
is present.I was trying something on lemmy a while ago and it required an
@context
.I don't know if somethings changed, but it actually doesn't. This lines would need to be
WithContext<SharedInboxActivities>>
for that to be the case, and just to make sure I tested against a local running main and was able to send activities to it without the@context
just fine.