Disgrifiad
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.
Lluniau Sgrin
Gosod
- Upload the tweetie-pie folder to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Please make sure that the cache directory has the proper permissions ( typically 775 ). If you don’t notice any files in the cache directory after installing your plugin and viewing the blog, most likely your permissions aren’t set properly on this directory.
Cwestiynau Cyffredin
- 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.
Adolygiadau
There are no reviews for this plugin.
Contributors & Developers
“TweetiePie” is open source software. The following people have contributed to this plugin.
CyfranwyrTranslate “TweetiePie” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Cofnod Newid
1.0
- TweetiePie Launch
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