[wp-trac] [WordPress Trac] #58120: oEmbed Mastodon
WordPress Trac
noreply at wordpress.org
Wed Apr 12 17:30:43 UTC 2023
#58120: oEmbed Mastodon
-----------------------------+------------------------------
Reporter: mediaformat | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by Shelob9):
A challenge here is Mastodon isn't a website, it's federated. This is a
similar problem to a WordPress embed -- could be WordPress.com could be
one of millions of other sites. Mastodon and by extension ActivityPub uses
Webfinger to identify users "WebFinger as described in RFC 7033 is a spec
that defines a method for resolving links to a resource, given only a URI
on a particular server." from:
https://docs.joinmastodon.org/spec/webfinger/
If there was a Mastodon embed block, when a Toot is added, the URL for a
toot has the server URL for the Mastdon instance in it. WordPress could
use that URL to identify the user and get the toot via the API
https://docs.joinmastodon.org/methods/statuses/#get
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58120#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list