Does anyone know what the most broadly implemented standard is for signalling that a web page has an alternative ActivityPub endpoint?
What I found online (and with @evan@cosocial.ca and @silverpill@mitra.social's input) was to deliver a Link header and set a <link> tag, but it doesn't seem to work (at least with Megalodon)...
@julian @evan @silverpill I found Link tag to suffice. Do you also have webfinger implemented?
@mauve@mastodon.mauve.moe thanks for the response. While I implemented the link tag for all user, post, topic, and category routes (basically, anything that had a corresponding AP endpoint), I only checked a link to a post, which should have returned a Note object.
I didn't check a link to a user profile, so maybe that's it.
AIUI, webfinger wouldn't apply for other object types.
@julian @evan @silverpill in my tests I found masto could get annoyed if it cannot fully resolve the author of the post and all the extra details. Unsure if that's relevant here. Try checking your http server logs vs the mastodon source code.
@julian @evan @silverpill In general I have had to do this for most implementations to catch gotchas 😅