Outputs latest twitter updates and linkifies hash tags and @replies. Properly caches.
Author: | Eric Lightbody (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 2.9.2 |
Plugin version: | 1.0.4 |
Added to WordPress repository: | 19-07-2009 |
Last updated: | 19-12-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://ericlightbody.com/tweetiepie |
Total downloads: | 3 473 |
Active installs: | 10+ |
Click to start download
|
This twitter plugin outputs your twitter updates to your WordPress blog. It linkifies hash tags and @replies while properly caching. It is called TweetiePie because it uses the SimplePie WordPress plugin to pull the tweets from twitter and cache them. Caching is necessary to minimize the times that your blog has to talk to twitter. This will speed up your site and keep twitter happy.
This plugin requires WordPress 2.8 or greater. If using an earlier 2.8 version it also requires the SimplePie WordPress plugin.
Screenshots
Widget page showing TweetiePie
TweetiePie in action
FAQ
Do I need SimplePie?
Not if you are using a newer version of WordPress. Later 2.8 versions of WordPress include SimplePie so a plugin is not required. If you are using an older version (why?) then download and install the SimplePie core plugin.
How do I use the direct function call?
A direct function call looks something like this:
<?php gettweet_tp("elightbo", 2, true, true)?>
This will show two of elightbo’s tweets with a time-stamp that links to the tweet on twitter’s website. The most important thing to keep in mind when using the function call is the order of arguments. Here is the order:
- Your twitter username
- Maximum number of latest tweets to display (default 1)
- Show time-stamp of tweet
- Link to tweet from time-stamp
- Text to append before tweets. (default
<ul class="tweetie-pie">
)
- Text to append after tweets. (default
</ul>
)
- Text to append before individual tweet ( default
<li class="tweet">
)
- Text to append after individual tweet ( default
</li>
)
- Text to separate tweets. (default ”)
The defaults are used if nothing is supplied to the function. So in this example my tweets would be displayed in an unordered list.
ChangeLog
1.0
1.0.2
- Changed cache duration from 1 minute to 15 minutes since twitter’s API allows for 150 requests per hour.
1.0.3
- Fixed bug which was occasionally showing blank tweets.
1.0.4
- PHP 5.2+ Compatibility
- Works without SimplePie core plugin for newer versions of WordPress