Showing posts with label Facebook Activity Feed Plugin For Blogger. Show all posts
Showing posts with label Facebook Activity Feed Plugin For Blogger. Show all posts

Saturday, October 18, 2014

Facebook Recommendation Feed Widget for Blogger!

Facebook has a huge numbers of active users. Which makes it as the great source of online traffics. That is why blog and website owners are connecting their sites to Facebook to get maximum visitors connectivity. Nowadays Facebook social plugin are most powerful for website or blog. These social plugin having great feature also increase site's traffic through Facebook. Facebook has several social plugin for website and blog. Earlier I had shared Facebook Activity Feed Plugin. Today I am sharing Facebook Recommendation Feed Plugin.

Facebook Recommendation Feed Widget is one of the popular Facebook widget for blogger. Actually it is one of the successful Facebook Plugin which produce a great number of traffics for sites. This Facebook Recommendation Feed widgets is a box in which it display the most recommended posts of your site, using actions (such as likes) by your friends and other people. Let's see how to add this widget in Blogger...

DEMO:--->
Facebook Recommendation bar



Adding Facebook Recommendation Feed Widget:

Create an Facebook APP:
  • First go to here to create an Facebook APP and click on Create New App button.
  • Then enter a Valid App name and Select App Category. And then click on Continue to create the app.
    create fb app
  • Your app is almost ready, Now go to App Setting and Enter your site URL.
    enter website url
  • Finally click on Save Changes and Note down your App ID.

Installing FB Recommendation Widget:
  • Sign into your Blogger Account and go to Dashboard.
  • Then click on Layout option and click Add a Gadget link.
  • Then from the Gadgets list choose HTML/JavaScript.
  • Now Paste the following code in the content box.
    • Replace APP- ID with your APP ID and http://www.ittimesbd.com with your site's URL.

    <div id='fb-root'/>
    <script>
    //Facebook Recommendation bar by www.mybloggerlab.com
    //<![CDATA[
    (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&appId=APP-ID";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    //]]>
    </script>
    <b:if cond='data:blog.pageType == &quot;item&quot;'><b:if cond='data:blog.pageType != &quot;static_page&quot;'><div style='z-index:999999; position:absolute;'>
    <fb:recommendations-bar action='like' max_age='0' num_recommendations='3' read_time='10' side='right' site='http://www.ittimesbd.com' trigger='40%'/></div>
    </b:if></b:if>

  • And finally click Save button to complete the addition.

That's it. Now view your blog and you will see that a Facebook recommendation bar appearing at the right bottom corner of your site.


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

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