Sunday, 10 August 2014

How To Add Facebook Fanpage Like Box

1. Go to https://developers.facebook.com/docs/plugins/like-box-for-pages

2. Change Facebook Page URL with your fanpage URL

3. Fill Width and Height with pixel. Or empty to get default.

4. Click Get Code

5. Click XFBML

6. Copy Javascript SDK and XML namespace to your blogger template HTML. Javascript SDK after <body> tag. XML namespace before <head>.  The code is like this <html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:fb='http://ogp.me/ns/fb#'>

7. Place the code for your plugin on layout, add a gadget.
 

No comments:

Post a Comment