Need help implementing ActivityPub - getting inconsistent results across platforms

https://lm.madiator.cloud/post/1010357

Need help implementing ActivityPub - getting inconsistent results across platforms - Madiator2011 Lemmy

My friend is working on adding ActivityPub support to his blog platform (BDServer) so people can follow/comment from Mastodon, Lemmy, etc. Current status: Lemmy and Misskey can find and follow his account (@[email protected] [/u/[email protected]]), but Mastodon can’t find it at all, even though he sees proper ActivityPub requests hitting his server. The technical details are pretty gnarly - RSA signature verification, HTTP header recreation, multi-threading issues. He wrote up the full journey here: Please Help Me With Activity Pub [https://blenderdumbass.org/articles/please_help_me_with_activity_pub] If anyone has ActivityPub experience or wants to take a look at the code (Python), we have a Matrix room for BDServer development. Any insights on why different platforms behave differently would be super helpful. https://matrix.to/#/#bdserver:tchncs.de [https://matrix.to/#/#bdserver:tchncs.de] Source code: ActivityPub.py [https://codeberg.org/blenderdumbass/BDServer/src/branch/main/modules/ActivityPub.py]

Did something change since this was posted?
I can look it up properly on mastodon.
You have to be signed in to fetch accounts on mastodon, is that the problem?

Are you using any framework to build the site? There’s a few libraries for activitypub.
These links could be helpful: codeberg.org/…/delightful-activitypub-development…

delightful-activitypub-development

A curated list of developer resources related to ActivityPub and the Fediverse.

Codeberg.org
I would say for now the most issue is about acually pulling posts.