這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Get Latest Tweets

外掛說明

This plugin adds the ability to put a shortcode tag in any static page or post and have it display the latest tweets for a particular twitter user.

It generates markup like this, which you can style as desired:

<ul class='tweets'>
<li>@<a class='atreply' href='http://twitter.com/jane'>jane</a> Please dance a jig. <span class='date'><a href='http://twitter.com/me/status/2345'>3 hours ago</a></span></li>
<li>Anyone used TotalFinder? <a href='http://t.co/blah'>http://t.co/blah</a> Saw it on @<a class='atreply' href='http://twitter.com/bob'>bob</a>'s machine and am intrigued. <span class='date'><a href='http://twitter.com/me/status/1234'>6 hours ago</a></span></li>
</ul>

安裝方式

  1. Upload the plugin to the /wp-content/plugins/ directory and unzip it.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Create ‘wp-content/cache/latest_tweets/’ and make sure it is writable by the web server.
  4. Put your Twitter credentials in twitter.api.keys.json. Make sure this file is not world-readable. You can get these from https://dev.twitter.com/apps
  5. Place [get_latest_tweets username="somename"] in your pages.

使用者評論

2016 年 11 月 2 日
Hi Paul, thanks for this great plugin. I just updated to the latest version… and now the german special characters like ä ü ö don’t show up any more. Is there a simple solution for that? Thanks Chris
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Get Latest Tweets〉的開發相關工作。

參與者

將〈Get Latest Tweets〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.3

  • More WordPress VIP coding standards
  • refactored in to class
  • when JSON contains an error, output it
  • updated “tested up to” to 4.3.1

0.2.2

  • WordPress VIP coding standards; updated “tested up to” to 4.1

0.2.1

  • “Tested up to” updated to 3.9.1

0.2.0

  • Now uses version 1.1 of the Twitter API — requires Twitter API credentials

0.1.3

  • Fix “Tested up to” and make sure version numbers sync up

0.1.2

  • Updated for new twitter API (thanks, @byjuhohn)

0.1.1

  • Fixed tweet permalinks (credit: Wouter den Boer)

0.1

  • Initial release.