Extension talk:TwitterFeed

Is there any way to get a twitter feed, e.g., from http://twubs.com/tlot and embed that into my wiki? Do I have to have a twitter account? Tisane 16:08, 29 March 2010 (UTC)
 * If you go to their Twitter profile and grab the numeric ID from their RSS feed as specified in the Usage section, you should be able to pull in anyone's tweets. Reach Out to the Truth 17:12, 29 March 2010 (UTC)

I have some bug fixes and improvements for this. Are you still maintaining it? Bcoughlan 03:58, 4 January 2011 (UTC)

I would be interested in bug fixes and improvements. This extension worked most of the day for us but just crashed. All the feeds are showing up blank. --Ryascolot 22:56, 1 March 2011 (UTC)

We have the same problem: all feeds are blank. Seems to be a problem since upgrading to MediaWiki 1.16.2. I changed line 122 in TwitterFeed.php to:


 * function renderTwitterFeed( $input, $params, $parser ) {

and it works. --Volker, 13:19, 30 March 2011

Timezone is not correct (bug from Twitter I guess, who doesn't honor timezone preference in their feeds). Converting to date fixes the problem:


 * $date = date("D, j M Y H:i:s", strtotime($date));

or adding the time difference by hand if the server is not based locally:


 * $date = date("D, j M Y H:i:s", strtotime($date."+6 hours"));

Laussy 13:59, 17 April 2011 (UTC)

The closing unordered list tag is actually a second opening tag in the extension code. Ryascolot 20:41, 23 June 2011 (UTC)

Thank you very much for the hack --Volker. :)) When I included once FlaggedRevs-MW1.17-r86547 in my "LocalSettings", I was getting this error:

Erreur interne Detected bug in an extension! Hook FlaggedRevsHooks::onArticleViewHeader has invalid call signature; Parameter 3 to renderTwitterFeed expected to be a reference, value given

Mediawiki 1.17 With your code, everithing is fine!

Lol313 11:30, 21 November 2011 (UTC)

MediaWiki 1.18?
Has anyone managed to make this work yet?

Failing that, are there any other Twitter display extensions that are suitable for MW 1.18? Andy Dingley 19:29, 13 January 2012 (UTC)

Hi, same issue, doesn't work after upgrade to 1.18.1

[Thu Feb 02 13:25:22 2012] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Fatal error: Call to a member function addMessage on a non-object in /path_to_wiki/extensions/TwitterFeed.php on line 79, referer: ... Lol313 12:44, 2 February 2012 (UTC)