{"id":180550,"date":"2010-12-13T08:00:00","date_gmt":"2010-12-13T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/twitter-api-shortcodes\/"},"modified":"2012-06-07T03:58:00","modified_gmt":"2012-06-07T03:58:00","slug":"twitter-api-shortcodes","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/twitter-api-shortcodes\/","title":{"rendered":"Twitter API Shortcodes"},"content":{"rendered":"<p>Twitter API Shortcodes (TAS for short) is currently in Alpha, and should not be considered at all stable!  With that said<br \/>\nplease provide any feedback so we can make things better!<\/p>\n<p>TAS allows you to put single tweets or entire twitter searches into your posts and pages using shortcodes.  The tweets and searches<br \/>\nare displayed in HTML markup, so the become \u201cpart\u201d of your site, which is good for SEO.<\/p>\n<p>The generated markup can be customized by putting a tweet.tpl (smarty template) file into your theme directory.  This also means that<br \/>\ntheme authors can support this plugin directly.<\/p>\n<p>Tweet templates assume that each tweet is in some block with the class \u2018status\u2019 (preferably a div like so<\/p>\n<p><<\/p>\n<p>div class=\u201dstatus\u201d>), and that in that block, there is a block for images with the class \u2018images\u2019 (preferably a div like so<\/p>\n<p><<\/p>\n<p>div class=\u201dimages\u201d>)<\/p>\n<p>All single tweets are cached in your local wordpress database, making performance ultra fast and reducing the number of requests<br \/>\nnecessary to the Twitter API.<\/p>\n<p>Twitter searches can also be cached, allowing you to keep a history of that particular search.  This is useful if you want to<br \/>\ntweet about a particular event with a hash tag, then display all of your tweets for that event on a page, or in a post even<br \/>\nafter those tweets fall out of the twitter search index.<\/p>\n<h3>TODO<\/h3>\n<p>This is a list of things which currently are not yet working (hey it\u2019s an alpha version)<br \/>\n* Avatar updates<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A plugin to add single tweets or twitter searches to your posts and pages using shortcodes<\/p>\n","protected":false},"author":65,"featured_media":233086,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Twitter API Shortcodes - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"A plugin to add single tweets or twitter searches to your posts and pages using shortcodes"},"footnotes":""},"categories":[1],"tags":[461,273,345,179],"class_list":["post-180550","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-api","tag-search","tag-shortcode","tag-twitter"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/180550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=180550"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/180550\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/233086"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=180550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=180550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=180550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}