-
Notifications
You must be signed in to change notification settings - Fork 16
Twitter Shortcode: Include preview of the tweet #89
Comments
Would this be dependent on the Twitter API? Before we started using Shortcake Bakery, we had a custom implementation of Twitter embeds using the Codebird library to get the tweet content for the blockquote. I'll probably be working on this for our setup in the near future (dependent on Codebird), so if you'd like, I can try to make it work for Shortcake Bakery too, and will submit a PR. Since we're not handling the Twitter embeds with a custom implementation anymore, I wouldn't mind losing the Codebird dependency if it's possible to get that data without the API wrapper. |
Twitter's oEmbed API (which doesn't require authentication) returns enough data to provide the fallback:
|
Ah. Then I'll probably go this route. If it's still an issue here, I'll open a PR when I get to that point. |
Twitter's oEmbed implementation returns a nice blockquote to show until the tweet is loaded. It would be cool if our shortcode did the same.
Previously #80
The text was updated successfully, but these errors were encountered: