Community Central

Help:Social media integration

98,580pages on
this wiki

Redirected from Widgets

For help connecting to Wikia using your Facebook account, see Help:Facebook Connect

Facebook and Twitter pages can be a great way to attract new editors to the wikia and to interact with your users. Whether you want to discuss a new episode, talk about a recent game update or just want to socialize, having a Facebook or Twitter account for your wikia is a great idea. Though creating the page isn't the hard part, it is often far more difficult to share your pages with the world. But what better way than to advertise it on the main page with a Facebook or Twitter box?

If the subject of your wikia has its own Facebook or Twitter pages, you can also feature those on your main page.

Adding a Twitter TimelineEdit

  • Adding a Twitter Timeline is somewhat complex, but it should be a piece of cake if you follow these steps. Keep in mind that these steps require admin privileges on the wikia.
    1. Sign in to and visit the widgets section of your settings page.
    2. Click the "Create new" button.
    3. Configure your settings on the left. Your username should be added automatically.
    4. Click the blue "Create widget" button. Twitter should create the code for you in the bottom right. It should look similar to this:
      <a class="twitter-timeline" href="" data-widget-id="TwitterID">Tweets by @TwitterName</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
    5. Create a page in the MediaWiki namespace named "TwitterWidget". To do this, visit Special:CreatePage on your wikia, and use "MediaWiki:TwitterWidget" as the pagename.
    6. Copy and paste the code Twitter created for you into this page and publish the change.
    7. Next, visit the page in which you want to display the Twitter feed (typically the Main Page of your wikia) and add following code:
    8. And voilà, the Twitter widget should now appear once the page is saved.


  • The Twitter box can be customized, but the customization is limited. Within Twitter's widget setup, you can change the height, theme colors, and link colors. The rest would have to be changed via local CSS on the wikia.
  • Twitter's widget creator doesn't honor the width value on the left when creating the code. If you wish to add a width or height value, you can do so by adding it to the link manually like:
<a class="twitter-timeline" height="500px" width="250px" href="" data-widget-id="TwitterID">Tweets by @TwitterName</a>

Adding a Facebook boxEdit

This is a list of wikitext tags you can use to include Facebook widgets anywhere on your site.

Like box Edit

The like box will display a widget about a topic.

<fb:like-box name="wikia"/>
This specifies the name of the page the box will display. The name can be found in the Facebook URL:
The Facebook Page ID. Many wikias will have to use this instead of 'name' because Facebook will currently only let you choose a name if the page already has 25 "likes". To find your Page ID, go to
but replace NAME with the "name" as noted above.


  • You can easily modify the like box to change its color scheme, make it wider or even add a stream, using the parameters shown here:
<fb:like-box name="wikia" width="300" height="" stream="false" header="false" show_faces="true" border_color="" colorscheme="light"/>
  • To add a Facebook stream, just change "stream="false"" to "stream="true"";
  • To make the box wider, change "width="300"" to the desired width;
  • To use a dark color scheme, simply change "colorscheme="light"" to "colorscheme="dark"";
  • To change the border color, replace "border_color=""" with "border_color="color"".

Recommendations Edit

Adds page recommendations.



Best practicesEdit

  • The Twilight Wiki has a box on the top right of their wikia, and with nearly 3000 likes it has been a big success! They share photos of their favorite characters, invite each other to events and have endless discussions about who's better, Edward or Jacob!
  • The Sims Wiki also has a very active Facebook community, with nearly 1000 likes. Like the Twilight Wiki, the box is on the top right of the page so the box will be the first thing new visitors see. The Sims wikia actively uses their Facebook page to share news articles, but also informs their users of important wikia discussions.

I still can't work it out!Edit

If you are having problems setting up any of the Twitter or Facebook boxes, feel free to ask the community for help on our Forum, or contact Wikia staff.

See alsoEdit

Further Help & FeedbackEdit

Around Wikia's network

Random Wiki