Extension:Twitter4wiki

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
Twitter4wiki

Release status: beta

Description Takes tweets from an twitter account and provides them on a wiki page
Author(s) Thomas Pfeiffer (Tompfeiffertalk)
Latest version 0.1
License No license specified
Download http://webevangelisten.de/wp-content/uploads/twitter4wiki.tar.gz

Translate the Twitter4wiki extension if it is available at translatewiki.net

Check usage and version matrix; code metrics


What can this extension do?[edit | edit source]

This extension fetches all the tweets from your friends, you are following on Twitter, and provides them in an mediawiki-project.

Usage[edit | edit source]

To print out the Tweet, just write on the appropriate page the tag

<twitter4wiki/>

That's all.


Installation[edit | edit source]

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/twitter4wiki/twitter4wiki.php");

Configuration parameters[edit | edit source]

All configuration is done within the file twitter4wiki/config.php.

  • Set up the URL to the rss-Feed, you want to catch
$twitter4wikiRSS='http://twitter.com/statuses/friends_timeline/yourPersonalNumberHere.rss
  • Define, which tweets to take and how to translate the usernames
$twitter4wikiOwners=array('UsernameInTwitter'=>'NameToDisplay','OtherUsernameInTwitter'=>'OtherNameToDisplay');
  • Set up your Username and Password for Twitter
$twitter4wikiUser='YourUsername'; $twitter4wikiPass='YourPassword'

See Also[edit | edit source]