Modern Media Tweet Shortcode

This plugin adds a ‘tweet’ shortcode to embed tweets using Twitter’s shortcode format,
for example:

[tweet https://twitter.com/OnionSports/status/145262716104351747 ]

  1. The plugin uses Twitter’s statuses/oembed API endpoint to retrieve embedded tweets identified by the id at the end of the url in the shortcode parameter
  2. It caches retrieved tweets on the server to minimize API usage.
  3. Optionally, it adds the necessary javascript from Twitter in document <head>.
  4. Allows you to control the width of the embedded tweet.
  5. Fixes a clear:both; issue in Twitter’s CSS.
  6. Tweet functionality (e.g., retweet and follow buttons) can be displayed in multiple languages.
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录