Help:Social media integration


 * 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 feature those on your main page.

Adding a Twitter Timeline

 * 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.
 * Sign in to twitter.com and visit the.
 * Click the "Create new" button.
 * Configure your settings on the left. Your username should be added automatically.
 * Click the blue "Create widget" button. Twitter should create the code for you in the bottom right. It should look similar to this:
 * 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.
 * Copy and paste the code Twitter created for you into this page and publish the change. Important note: If your pasted code appears on two lines, remove the line break between the  and the   so that the code is all on one line. You may not be able to publish the page without removing the line break.
 * Next, visit the page in which you want to display the Twitter feed (typically the Main Page of your wikia) and add following code:
 * And voilà, the Twitter widget should now appear once the page is saved.

Tips

 * 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:

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

Page Plugin
The Page plugin is a versatile widget that can allow viewers to like a Facebook page, see which of their friends already like it, and view recent posts from the page. This widget should meet most of your needs around showcasing a Facebook page on your wikia!

These examples use Wikia's Facebook page, https://www.facebook.com/wikia, but should use your wikia's Facebook page, or the Facebook page for your wikia's topic.

The basic code looks like this:  And will generate a module that looks like this:



You can add the following parameters to the code to change additional elements:
 * will show recent posts from the page
 * won't show the viewer's friends' faces
 * will make the cover image smaller, and  will hide the cover image completely.

This code, using some of those parameters:  generates a module that looks like this:



Additional parameters and information
 * allows you to experiment with other layout options and generate a block of code that you can copy/paste onto your wikia. Select your options and click the "Get Code" button. You don't need to worry about the first step about using the "JavaScript SDK" – Wikia's taken care of that part. Just grab the code from step two and you'll be all set!

Like Button
Adds a Like button that allows users to like the current page. You can also optionally add a Share button next to the Like button.  

Parameters
 * Add  to also show a Share button.

Share Button
The Share button lets users share a link on their timeline, in groups, or to their friends via a Facebook Message. Additional text can be added to the post or message.  

Parameters
 * Use the  parameter to choose between various types of button. Possible values are "box_count", "button_count", "button", "link", "icon_link", or "icon".

Follow Button
The Follow button allows users to subscribe to the public updates of your wikia's Facebook page (if you have created one). Use the  parameter to link the widget to your wikia's Facebook page.

This examples use Wikia's Facebook page, https://www.facebook.com/wikia, but should use your wikia's Facebook page, or the Facebook page for your wikia's topic.





Deprecated widgets
In June 2015, Facebook ended support for three older widgets that were supported on Wikia:
 * Like Box (tag was )
 * Facepile (tag was )
 * Recommendations Feed (tags was )

The Page plugin is the best replacement for these!

Best practices

 * has a box on the top right of their main page, and the page has over 13,000 likes! They share photos of their favorite characters, news about the Muppets and ask fans to comment on posts.
 * also has a very active Facebook community, with over 1500 likes. Like the Muppet Wiki, the box is on the top right of the page so the box will be one of the first things new visitors see. The Sims Wiki actively uses their Facebook page to share news articles, but also informs their users of important on-wikia discussions.

I still can't work it out!
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.

Further Help & Feedback
ca:Ajuda:Afegint Twitter i Facebook a les portades de:Hilfe:Social Media es:Ayuda:Integración de las redes sociales fr:Aide:Intégration de réseaux sociaux it:Aiuto:Integrazione con i social ja:ヘルプ:ソーシャルメディアを取り込む ko:도움말:소셜 미디어 활용 ru:Справка:Виджеты социальных сетей uk:Довідка:Модулі Facebook zh:Help:社交媒體整合