Saturday, July 5, 2014

Add Facebook Activity Feed Plugin To Blogger

As we all know Faceboook is the social networking site with more than one billion registered users. That is is why Facebook is one of the best online traffics. There are several Facebook plugins for blogger by which you can increase and engage your site's traffics. Today I am sharing one of popular and effective Facebook plugin for blogger. It is Facebook Activity Feed Plugin.


This Facebook Activity Feed plugin displays post and also recommends new stories which are liked by your visitors friends. As a result it increase the social engagement of your visitor about your site, If you're using Facebook recomendation bar then it will also display recommendation along with the recent like.

Facebook Activity Feed for Blogger


Adding Facebook Activity Feed To Blogger:
  1. First Log Into your Blogger Account and got to Dashboard.
  2. Then click on Template.
  3. Then click on Edit HTML and you will land on your blog HTML page.
  4. Here in the HTML page Find <body Tag.
  5. Now Copy the below Code and Paste it just below the above mentioned body tag.

  6. <div id="fb-root"></div> 
    <script>(function(d, s, id) { 
      var js, fjs = d.getElementsByTagName(s)[0]; 
      if (d.getElementById(id)) return; 
      js = d.createElement(s); js.id = id; 
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; 
      fjs.parentNode.insertBefore(js, fjs); 
    }(document, 'script', 'facebook-jssdk'));</script> 

  7. Then click on Save Template button to save the template.
  8. Now click on Layout and click Add a Gadget where you want to place this gadget.
  9. Then from the gadgets list Select HTML/Javascript.
  10. Now Copy the below code and Paste it in the Content box.

  11. <div class="fb-activity" data-site="http://www.iTTimesbd.com" data-width="300" data-height="450" data-border-color="#ffffff" data-header="false" data-recommendations="true"></div> 

  12. Then click on Save button to save the gadget.

Customization:
  • Replace http://www.iTTimesbd.com with your website/blog URL.
  • The default width and height of this gadget is 300 and 450. You can customize it as you need. Just change the value of the Width and Height.
  • If you want this plugin not to display recommendation stories then just Replace true with false.

That's it. Now visit your site and you will see the plugin is displaying the Facebook activity.


Stay with www.iTTimesbd.com for more IT related Post

No comments:

Post a Comment