Help:Social media integration


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

Facebook and Twitter pages can be a great way to attract new editors to your community 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 community is a great idea. Though creating the social account isn't the hard part, it is often far more difficult to get the news out about those pages. But what better way than to advertise it on the main page with a Facebook or Twitter widget?

Adding a Twitter timeline


Adding a Twitter timeline to a page on your wiki is pretty simple - just follow these steps:


 * In source editing mode, write this:
 * Replace 'getfandom' with the name of the Twitter feed (e.g. 'getfandom', 'BBCNews', 'EmWatson', etc.)
 * Replace 'getfandom' with the name of the Twitter feed (e.g. 'getfandom', 'BBCNews', 'EmWatson', etc.)

Of course, you may wish to tweak the layout and contents: we support many of the parameters listed in Twitter's documentation.

For example, if you wanted to set the " " as " " (pixels), you would write:

Or you might want to use the dark theme as well:

Note: the old method that used "widget-id" (e.g. ) will continue to work.

Adding a Twitter Hashtag Search Timeline
Ever wanted to include a trending Hashtag Timeline from Twitter Search? Wikia has you covered!

Just like above, it's near enough the same in code except replace screen-name with timeline and include the full link of the Hashtag address in the code like this:  but you definitely WILL need your Widget ID, as the Hashtag Timeline does't work without it, however, you can use the same Widget ID from the previous section on adding a Twitter Timeline.

Here's the code, with the included Widget ID from above:

Replace getfandom with your own Hashtag.

You can also add a border color and a link color in Hexadecimal ( # ) code. You may find the FANDOM Help page Help:Color very helpful or, alternatively, you can find the fully updated list with included Snapchat and Digg Hexadecimal colors at http://tcodesblog.blogspot.com/search/label/htmlcolourchart

Border Color:

Link Color:

Adding Facebook widgets
With the following, you can include Facebook widgets anywhere on your site! The following examples make use of FANDOM's Facebook page, https://www.facebook.com/getfandom, but should use your community's Facebook page, or the Facebook page for your community's topic.

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 wiki!

The basic code looks like this:
 * 

This will generate a module that looks like this:
 * 

You can add 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.

For example, using some of those parameters:
 * 

This generates a module that looks like this:
 * 

Facebook's documentation page allows you to experiment with other layout options and generate a block of code that you can copy/paste onto your wiki. Select your options and click the "Get Code" button. You don't need to worry about the first step about using the "JavaScript SDK" – FANDOM'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 community's Facebook page (if you have created one). Use the  parameter to link the widget to your community's Facebook page.


 * 
 * 

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

The Page plugin is the best replacement for these!

Best practices

 * The Muppet Wiki has a box on the top right of their main page, and the page has over 22,000 likes! They share photos of their favorite characters, news about the Muppets and ask fans to comment on posts.
 * The Sims Wiki 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-wiki 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 FANDOM 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 fi:Ohje:Sosiaalisen median integrointi fr:Aide:Intégration de réseaux sociaux it:Aiuto:Integrazione con i social ja:ヘルプ:ソーシャルメディアを取り込む ko:도움말:소셜 미디어 활용 pl:Pomoc:Serwisy społecznościowe pt:Ajuda:Integração com redes sociais ru:Справка:Виджеты социальных сетей uk:Довідка:Віджети соціальних мереж vi:Trợ giúp:Tích hợp công cụ mạng xã hội zh:Help:社交媒體整合