Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
WordPress plugin that adds a shortcode tag to display the most recent tweets from a specified twitter user.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
get-latest-tweets.php bump version to 0.2.2
readme.txt bump version to 0.2.2


=== Get Latest Tweets ===
Author URI:
Plugin URI:
Contributors: paulschreiber
Tags: get_latest_tweets, tweet, tweets, twitter, formatting, list, shortcode
Requires at least: 3.0.4
Tested up to: 4.1
Stable tag: 0.2.2

Adds a shortcode tag [get_latest_tweets username='somename'] to display an excerpt from your latest blog post.

== Description ==

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=''>jane</a> Please dance a jig. <span class='date'><a href=''>3 hours ago</a></span></li>
    <li>Anyone used TotalFinder? <a href=''></a> Saw it on @<a class='atreply' href=''>bob</a>'s machine and am intrigued. <span class='date'><a href=''>6 hours ago</a></span></li>

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory and unzip it.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Create 'wp-content/cache/latest_tweets/' and make sure it is writable by the web server.
1. Put your Twitter credentials in twitter.api.keys.json. Make sure this file is *not* world-readable. You can get these from <>
1. Place `[get_latest_tweets username="somename"]` in your pages.

== Changelog ==

= 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.
Something went wrong with that request. Please try again.