Extension:TwitterFeed

The TwitterFeed Extension is a MediaWiki extension which provides a means for display the last Twitter tweets into wiki articles.


 * Project Homepage: TwitterFeed Tutorial - Nesscorp.fr
 * Source Code: TwitterFeed SourceForge
 * Licensing: TwitterFeed is released under The MIT License.

Installation
allow_url_include = On allow_url_fopen = On
 * 1) Download TwitterFeed, and be sure to rename the downloaded file to TwitterFeed.php.
 * 2) Drop this script in $IP/extensions
 * Note: $IP is your MediaWiki install dir.
 * 1) Enable the extension by adding this line to your LocalSettings.php:
 * 2) Make sure that these php5 variables are activated:
 * 1) Make sure that these php5 variables are activated:

Usage
Once installed, you may display tweets to any article.

To do so, simply add this text to the body of your page where you'd like the tweets to appear: or Where "id" is the session user id and "nb-of-tweets" the max number of appearing tweets. To get it :

Old Twitter:
 * 1) Go to the Twitter page:
 * Example: http://twitter.com/winkinpark
 * 1) Copy the RSS Feed url:
 * Example: http://twitter.com/statuses/user_timeline/76944488.rss
 * 1) And finally get the ID :
 * ''Example: 76944488

New Twitter:
 * 1) Go to the Twitter page
 * Example: http://twitter.com/winkinpark
 * 1) View Source (Ctrl+U in FF and Chrome) and search for (Ctrl+F) ".rss"
 * 2) This should match a URL like: http://twitter.com/favorites/123456789.rss
 * 3) 123456789 is your ID.

That's it!

v1.1 - 2010/09/18

 * Add links in the content.

Developer Notes
Once the extension is install, you can change the last lignes of the for-loop of the function renderTwitterFeed in TwitterFeed.php. It must be usefull to customize the tweets display.

Wikis Using this Extension

 * GT5 Tuning Wiki
 * French Winkin Park
 * Ziesche Kolleg