WordPress 4.5 to Add oEmbed Support for Twitter Moments and Timelines

WordPress introduced oEmbed support for tweets in its 3.4 release, but recent changes to Twitter’s API requires updates to core. On May 1, Twitter will be removing the XML response format from the single Tweet oEmbed endpoint. Twitter engineer Niall Kennedy opened a ticket to change the oEmbed URL for single tweets from api.twitter.com to publish.twitter.com.

In addition to the patch Kennedy submitted with the ticket, core committer Dominik Schilling added a patch to extend the provider list to support moments and timelines from Twitter.

The update was included in this week’s WordPress 4.5 Beta 4 release. To see it in action you can take the latest beta for a test drive or check out the embedded moment and timeline links below.

https://twitter.com/i/moments/650667182356082688

National Park Tweets – Curated tweets by XDevelopers