[wp-trac] [WordPress Trac] #23419: Use version 1.1 for Twitter.com oEmbed
WordPress Trac
noreply at wordpress.org
Fri Feb 8 07:53:35 UTC 2013
#23419: Use version 1.1 for Twitter.com oEmbed
--------------------------------------+-------------------------
Reporter: kovshenin | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Embeds
Version: 3.4 | Severity: normal
Keywords: needs-patch dev-feedback |
--------------------------------------+-------------------------
Version 1 of the API is deprecated and it will be
[https://dev.twitter.com/blog/planning-for-api-v1-retirement retired
soon]. We should work on moving to
[https://dev.twitter.com/docs/api/1/get/statuses/oembed version 1.1].
This sounds like a no-brainer, however one of the biggest changes between
the two versions is the authentication model. Version 1.1 does not support
unauthenticated requests. This means that we can no longer anonymously
query the oembed endpoint.
I'm not sure we want to build an OAuth client into Core specifically for
this and have users go through an authentication process before being able
to embed tweets. Another option is to construct the embedded tweets
[https://dev.twitter.com/docs/embedded-tweets manually] without querying
Twitter's API.
This should also fix most of the "tweets won't embed" problems people are
having on shared hosts, since unauthenticated requests in v1 are rate
limited by IP.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23419>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list