Difference between revisions of "Widget:Twitter"

From IRC Wiki
Jump to navigation Jump to search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<includeonly><script src="http://widgets.twimg.com/j/2/widget.js"></script>
This widget allows you to embed '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.
<script>
 
new TWTR.Widget({
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
  version: 2,
 
  type: 'profile',
== Using this widget ==
  rpp: 3,
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].
  interval: 6000,
 
  title: '',
<includeonly><ul><b>Twitter Updates:</b></ul>
  subject: 'Twitter Updates:',
<span id="twitter_div" style="font-size:100%">
  width:  '<!--{$width|default:'auto'|escape:'urlpathinfo'}-->',
<ul id="twitter_update_list"></ul>
  height: 300,
</span><script src="http://twitter.com/javascripts/blogger.js"></script>
  theme: {
<script src="http://twitter.com/statuses/user_timeline/IRCWiki.json?callback=twitterCallback2&amp;count=3"}</script></includeonly>
    shell: {
      background: '#dfe8f3',
      color: '#000000'
    },
    tweets: {
      background: '#dfe8f3',
      color: '#000000',
      links: '#1747e6'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('<!--{$user|escape:'urlpathinfo'}-->').start();
</script></includeonly>

Latest revision as of 02:39, 4 January 2012