Title: Get Latest Tweets
Author: Paul Schreiber
Published: <strong>2011 年 2 月 13 日</strong>
Last modified: 2016 年 4 月 7 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/get-latest-tweets.svg)

# Get Latest Tweets

 作者：[Paul Schreiber](https://profiles.wordpress.org/paulschreiber/)

[下载](https://downloads.wordpress.org/plugin/get-latest-tweets.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/get-latest-tweets/#description)
 * [评价](https://cn.wordpress.org/plugins/get-latest-tweets/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/get-latest-tweets/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/get-latest-tweets/#developers)

 [支持](https://wordpress.org/support/plugin/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. 通过 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](https://dev.twitter.com/apps)
 5. Place `[get_latest_tweets username="somename"]` in your pages.

## 评价

![](https://secure.gravatar.com/avatar/81e3e3f2e1f9ec46a671a6e2dca6257864aa6061f4870c1e9ac514cb4df6367f?
s=60&d=retro&r=g)

### 󠀁[No more special character](https://wordpress.org/support/topic/no-more-special-character/)󠁿

 [schmenzkiewp](https://profiles.wordpress.org/schmenzkiewp/) 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条评价 ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/)

## 贡献者及开发者

「Get Latest Tweets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)

[帮助将「Get Latest Tweets」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/get-latest-tweets)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/get-latest-tweets/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/get-latest-tweets/)，或通过[RSS](https://plugins.trac.wordpress.org/log/get-latest-tweets/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/get-latest-tweets/)。

## 更新日志

#### 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.

## 额外信息

 *  版本 **0.3**
 *  最后更新：**11 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 3.0.4 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/get-latest-tweets/)
 * 标签
 * [formatting](https://cn.wordpress.org/plugins/tags/formatting/)[tweet](https://cn.wordpress.org/plugins/tags/tweet/)
   [tweets](https://cn.wordpress.org/plugins/tags/tweets/)[twitter](https://cn.wordpress.org/plugins/tags/twitter/)
 *  [高级视图](https://cn.wordpress.org/plugins/get-latest-tweets/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/get-latest-tweets/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/get-latest-tweets/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/get-latest-tweets/reviews/)

## 贡献者

 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/get-latest-tweets/)