Help:Social media integration

Facebook and Twitter pages can be a great way to attract new editors to the wiki and to interact with your users. Whether you want to discuss a new episode, talk about a recent game update recent update or just want to socialize, having a Facebook or Twitter account for your wiki 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?

Best practices

 * The Twilight Wiki has a box on the top right of their wiki, 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 wiki actively uses their Facebook page to share news articles, but also informs their users of important wiki discussions.

Adding a Facebook box

 * First things first. We'll have to check the URL of our Facebook case. To retrieve the URL, visit the Facebook page and copy the URL of the page from the browser bar. Now, temporarily paste the URL on your PC.
 * Next, copy the code below, and replace " " with the URL we just copied.
 * Now simply paste the modified code to the mainpage and Facebook box will appear!

Tips

 * You can easily modify the Like Box to change its color scheme, make it wider or even add a stream.
 * To add a Facebook stream, just change " " to " ";
 * To make the box wider, change " " to the desired width;
 * To use a dark color scheme, simply change " " to " ";
 * To change the border color, replace" " with " ".

Adding a Twitter box
 new TWTR.Widget({ version: 2,  type: 'profile',  rpp: 2,  interval: 6000,  width: 300,  height: 200,  theme: {    shell: {      background: '#CDE3F1',      color: '#0066A7'    },    tweets: {      background: '#ffffff',      color: '#333333',      links: '#0066A7'    }  },  features: {    scrollbar: false,    loop: false,    live: false,    hashtags: true,    timestamp: true,    avatars: false,    behavior: 'all'  } }).render.setUser('TwitterName').start; TwitterWidget
 * Adding a Twitter box is slightly more difficult, but it should be a piece of cake by following these steps.
 * First create a page in the MediaWiki namespace named "TwitterWidget". To do this, visit Special:CreatePage on your wiki, and use "MediaWiki:TwitterWidget" as the pagename.
 * Next, copy the code below directly into the edit box.
 * After pasting the code, replace " " with your Twitter username. " " can be found on the very bottom of the code. Do not remove the apostrophes though.
 * Next, visit and edit the mainpage of your wiki. Scroll down to the section where you'd like to add the box, and copy the following code there:
 * And voilà, the Twitter widget should now appear on your mainpage.

Tips

 * Like the Facebook box, the Twitter box can easily be customized to fit your wiki's theme, or to include avatars, hashtags and other features.
 * To change the width or height, visit the MediaWiki:TwitterWidget page you just created and change " " or " " to the preferred height or width;
 * To change the colors of the box, just modify any of the heximal values (for example " ") with the preferred color. You can view list of heximal values here;
 * To include avatars, timestamps or other features, just modify the " " section on the bottom of the code, replacing " " with " " or vice versa to enable or disable any of the features.

I still can't work it out!
If you are having problems setting up any of the boxes, feel free to ask the community for help on our forums, or contact Wikia staff.