Showing posts with label Facebook Widget For Blogger. Show all posts
Showing posts with label Facebook Widget 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

Thursday, September 12, 2013

How to Add Facebook Like Button to Blogger!

Facebook Like Button
If you have a Facebook page for your blog or website, then you can place the like button/box of that Facebook page on your site. As a result of placing the Facebook like button visitor of your site can easily join to your Site's Facebook page. Another important thing you should remember that it is also a part of SEO. Placing a like box may attract visitors to visit your site.

The only requirement to add Facebook like button/box is to have a Facebook page for your site. If you don't have than create a Page for your site. I have also share a post about How to Create a Facebook Page. There are several Facebook widgets available for Blogger. In this post I am gonna show how to add Facebook button/box to Blogger. Lets see how to do it.


Adding Facebook Like button to Blogger:
  • At first sign in to your blogger account.
  • Then click on Template and then click Edit HTML.You will land on the HTML page of your blog.
  • Now copy the below code and paste the code just Below the <body> tag.
  • Then click on Save Template button.

  • <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>

  • Then go to Layout and click Add a gadget link. Then from the gadget list select HTML/JavaScript.
  • Then Paste the below code there and save it.
  • Then place the Gadget wherever you want to show it.
<div class="fb-like-box" data-href="http://www.facebook.com/iTTimesbd" data-width="240" data-height="350" data-show-faces="true" data-stream="false" data-header="true"></div> 


Customization: The Red part of the Second Code.
  • Name: The name iTTimesbd should be replaced with you Facebook page name.
  • Width & Height:  You can increase or decrease you Facebook plugin width and height.

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