[wp-trac] [WordPress Trac] #41746: oEmbed does not respect canonical provider url parameter
WordPress Trac
noreply at wordpress.org
Sun Sep 10 18:43:41 UTC 2017
#41746: oEmbed does not respect canonical provider url parameter
------------------------------------------------+--------------------------
Reporter: dougal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Embeds | Review
Severity: normal | Version: trunk
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Comment (by dougal):
Some more info on this...
I found another class of Twitter URLs that display this behavior -- media
links in tweets (e.g., photos or videos):
```https://www.twitter.com/{username}/status/{statusid}/photo/{num}```
```https://www.twitter.com/{username}/status/{statusid}/video/{num}```
I ran across these when auto-cross-posting bookmarks from
[http://pinboard.in | Pinboard] to my blog. Pinboard has a feature to
automatically bookmark URLs from tweets that you mark as favorites. When
it does this, it can extract these types of URLs that point directly to
Twitter resources, but which the Twitter oEmbed provider does not
recognize. Twitter apparently expects you to get the canonical provider
URL from the original resource's head.
I believe that @azaozz said that he had seen other services that extract
URLs from tweets similarly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41746#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list