@drq @mike @Gargron the thing is, Mastodon does happily accept, store and display post objects if you send them to its inbox. Looking up users by their username@domain (via webfinger) works too — after which Mastodon fetches the user object from that exact URL and displays it; I actually used that to verify my implementation. It's only direct links in the search field that don't work for some reason.
@grishka @drq @mike Does the link return JSON when requested with an Accept header asking for it, or, does the link respond with a Link header with the JSON alternative in it, or, does the link's HTML contain a <link> element doing so?