Twitter

Last modified by Ludovic Dubost on 2009/01/02 17:32

Twitter macro, panels and badge

This page demonstrates the Twitter macros, panels or badges that can be used in XWiki. You should see on the right some panels showing the last updates of the Twitter 'XWiki' channel as well as the last updates containing the word 'xwiki' and a Twitter flash badge.

On the following page you can see the usage of the Twitter macros. Note that you can use scripting to do your own custom Twitter interaction. The page TwitterGroovy and TwitterMacros will show you examples of this. These macros are using the Twitter4J api.

To install the Twitter macros download the xar from code.xwiki.org. Here is how to embed your Twitter streams in your own XWiki pages:

#includeMacros("Twitter.TwitterMacros")
#twitter_user("xwiki" 20)
#twitter_search("xwiki" 20)
#twitter_badge("xwiki")

If the twitter streams are not displaying, it might be because the page TwitterGroovy needs to be saved using an XWiki superadmin