Community Central
Register
Community Central
Forums: Index Community Central Forum Twitter Widget?
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4761 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


I want to know how to make [Twitter] widgets in wikia and I got this HTML code for my twitter widget. What should I do to make it come in wikia?


<script src="http://widgets.twimg.com/j/2/widget.js"></script>

<script> new TWTR.Widget({

 version: 2,
 type: 'profile',
 rpp: 5,
 interval: 6000,
 width: 300,
 height: 300,
 theme: {
   shell: {
     background: '#f7950d',
     color: '#ffffff'
   },
   tweets: {
     background: '#000000',
     color: '#ffffff',
     links: '#9fa4d6'
   }
 },
 features: {
   scrollbar: true,
   loop: false,
   live: false,
   hashtags: true,
   timestamp: true,
   avatars: false,
   behavior: 'all'
 }

}).render().setUser('JetMcwheel').start(); </script>

-- Mcharshy My Talk[[Special:Editcount/Mcharshy|Special:Editcount/Mcharshy Edits In this Wiki]]Email Me 10:41, February 28, 2011 (UTC)

Hmm, instead of hardcoding the widget youself, couldn't you just use the <twitteruser/> tag within a box of your liking? Or am I missing something? Simple example:

From Wikia Twitter: <twitteruser username=Wikia limit=3 />

Sovq 13:30, February 28, 2011 (UTC)

Hmm... A simpler way. Thanks for the help Sovq! -- Mcharshy My Talk[[Special:Editcount/Mcharshy|Special:Editcount/Mcharshy Edits In this Wiki]]Email Me 16:20, March 1, 2011 (UTC)

Sovq's example code:
<div style="border: 2px solid black;">
<font style="font-size: 1.8em;">From Wikia Twitter:</font>
<twitteruser username=Wikia limit=3 />
</div>
-- Fandyllic (talk · contr) 1 Mar 2011 11:29 AM Pacific
The font tag is deprecated, so better to use span: <span style="font-size: 1.8em;">From Wikia Twitter:</span>
-- Fandyllic (talk · contr) 1 Mar 2011 11:31 AM Pacific