Please note: 'How to add or update the Facebook Like Box on Blogger' is the new version of this post. The post you are viewing now was made in 2010 and may no longer work.
This is an old update to a previous post I made in 2009 on 'How to add the Facebook Fan Box on Blogger'.
Instructions:
- Get the code for your Facebook Like Box. You can do this through the Facebook Plugin Page, or if you're already logged in to your Facebook page, go to Edit Page > Marketing and click Add a Like Box to your Website. See the pics above if you're having any trouble.
- Under Facebook Page URL, delete the URL that's currently in the box and replace it with your Facebook Page's web address.
For example, my Facebook Page's URL is http://www.facebook.com/pages/Maria-Tan/102277350547, so that's what I pasted in the box.
Once you enter the correct URL, your Like Box will appear on the right hand side, instead of the default Facebook Platform Like Box.
- Customize any of the other settings, i.e. Width, Color, Connections, Stream, Header and click Get Code.
The settings I used were:
width="200" (The width of your Like Box)
height="554" (See Step 10 for more details)
Color scheme=Light (White or Black background)
Connections=6 (How many pictures of people who like your page show up)
Show stream ticked (Info from your wall posts)
Show header unticked (Find us on Facebook bar)
- Copy the code under XFBML.
- Sign in to Blogger and click Design.
- Click Add a Gadget.
- Choose Basics > HTML/Javascript
- Add a Title and paste the code for your Facebook Like Box under Content.
- Click Save.
- View your blog and edit the HTML/JavaScript box again if necessary.
To change the height of your Facebook Like Box, edit the code you pasted in the HTML/JavaScript box and paste height="554" after the width="..." parameter. You can customize the height to suit your own blog by replacing the numbers 554 with your own value in the quotes.
E.g. For a Like Box with the height of 200 pixels, paste height="200" instead.
- Don't forget to Save the changes once you are finished :)