WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#19626 closed enhancement (fixed)

Add twitter.com as an oEmbed provider

Reported by: nacin Owned by:
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: Embeds Keywords: has-patch
Focuses: Cc:

Description

They're certainly big enough to warrant inclusion. Here's their documentation: https://dev.twitter.com/docs/api/1/get/statuses/oembed.

Attachments (2)

19626.diff (798 bytes) - added by Otto42 3 years ago.
Patch for twitter oembed
19626.2.diff (803 bytes) - added by Otto42 3 years ago.
Patch updated to allow "statuses" which I get from some apps in the URL, and which works fine in the oembed as well.

Download all attachments as: .zip

Change History (8)

comment:1 @Otto423 years ago

  • Keywords has-patch added

YOU CAN HAZ PATCH.

@Otto423 years ago

Patch for twitter oembed

@Otto423 years ago

Patch updated to allow "statuses" which I get from some apps in the URL, and which works fine in the oembed as well.

comment:2 @redwallhp3 years ago

You guys are too fast for me. I was just going to do a patch for this, since I had already added Twitter as a provider through one of my plugins... :)

comment:3 @mjbanks3 years ago

Was writing a plugin for myself to test this too. Patch works well! I'm all for adding this!

comment:4 @Otto423 years ago

Plugin snippet for anybody who wants to use this sort of thing right now:
http://ottopress.com/2011/twitter-adds-oembed-adding-it-to-wordpress-with-a-snippet/

comment:5 follow-up: @nacin3 years ago

In [19721]:

Add Twitter.com as an oEmbed provider. props Otto42. see #19626.

comment:6 in reply to: ↑ 5 @duck_3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Replying to nacin:

In [19721]:

Add Twitter.com as an oEmbed provider. props Otto42. see #19626.

Marking as fixed.

Note: See TracTickets for help on using tickets.