Both the OP and this test seem to work on Mbin (I tried fedia.io, without an account).
OP also works on Tesseract at dubvee.org, but this entire comment chain fails to show up so I dunno about YouTube embeds - probably more federation woes:-(.
But it does not work on any Lemmy instance I've tried.
Edit: nor PieFed.
Oh yes, definitely. BlueSky has a "bridge", whereas the ActivityPub Protocol is a full federation protocol. The user-based, Twitter/X-like Mastodon, the user-based FaceBook-like Friendica, and the thread-based Lemmy + others all use it. Which you probably wouldn't need to care about, since you would just call the API (except for PieFed, that's not currently an option b/c it does not exist yet).
Much of what I am saying here is not really "actionable" atm - though it might affect how you "structure" your code, e.g. making function calls to use the API rather than do it in-line?
Although another reason that I mentioned PieFed was to point to its large & growing list of features that people kept saying that they wanted to see in Lemmy, but never seem to get added to Lemmy, although PieFed already has them (yet lacks many of the more basic, foundational features, oddly enough).
A powerful example is categories of communities - like I don't have to go individually to !fediverse@lemmy.world and !fediverse@lemmy.zip and !communitypromo@lemmy.ca and !fedigrow@lemm.ee and !loops@lemmy.world etc., and can instead just visit https://piefed.social/topic/fediverse and see posts from all of these communities at once. That has been present in some apps - though I don't know which ones - for a long time now.
And another is hashtags, which have worked so well elsewhere e.g. in Mastodon, and we'd love to see them add additional functionality to Lemmy too. Here is an example that uses both - although the hashtags don't do much there since the vast majority of "Lemmy"/Threadiverse users do not use PieFed.