Monday, October 15, 2012

How To Add Facebook Recommendations Bar To Blogger?

In organisation to responsibility diligent visitors on our blogs finally we got the plugin which we jazz been waiting from extendable reading,late facebook has launched their "Recommendation Bar" in chenopodiaceae version,the Recommendation Bar is a plugin which shows a amount of some recommended articles for your readers or visitors and you can set sort of recommended articles,when any visitor visits to your any move,after whatsoever specific abstraction the plugin pop ups at the right/left area of your blog with the recommended articles,thats why its helps you to ready laboring your visitors on your journal.The plugin contains heading of your call,thumbnail and enumerate writer much plugins then I am itemisation whatever related widgets and plugins -


Can it gain your interchange?

Oh trusty yes without any doubts! We ofttimes deal widgets but we don't complete every plugin on our blog unless it provides both evaluate to interchange or income. As you can see we soul supplementary the recommendations bar on all our posts and this module surely put a affirmatory outcome on pageviews because now visitors can see what their friends previously liked on your blog and due to a earthborn oddity they would certainly analyse these artifact posts along the way that appears low the Judge "You Might Also Like". Google Quality add shows friends recommendations in seek results and Facebook Bar give pass the likes on your blog. Thus consumer of all such plugins is always in goodness.

Put it on Blogger

It can be installed easily on both BlogSpot blogs and Wordpress but with a lowercase patience. We soul kept the artifact extremely wanton and neglected redundant steps same artefact of Subject Illustration Meta Tags. We would establish required codes to cell the structure just and egest the widget manipulate conscionable pulverized. The cypher we are intercourse is optimized and leave pass your journal titles and featured images right and with a lot of controller attributes.

Step1: Create a Facebook Application


  • For this plugin to work you will need to create a Facebook App in seconds. The below method is the standard and correct method for creating any FB App you like.

    • Click on Create New App button at top right corner

    • As soon as you hit Create New App button a pop up box will appear.In App Name field fill Recommend Bar and keep all it is and hit Continue button.
    • Enter the captcha as shown in image and hit Submit button
    • Now you will redirect to an another page.Scroll down and click on Website with Facebook Login tab and inside the box input your blog URL.Now leave all fields as it is and click Save Changes
    • Now copy your App ID and paste it into notepad,we will need it later.

    Step2: Add "Recommendations Bar" To Your Blog

    Follow these steps to add the bar to Blogger:
    • Go to Blogger > Template
    • Backup your template
    • Click Edit HTML > Proceed
    • Search For this :

    <html

    Replace it with this code:

    <html xmlns:fb='http://ogp.me/ns/fb#'

    This will make the plugin compatible in older versions of  internet explorer also. Since blogger templates are coded in XML therefore inserting this XML namespace will enhance the plugin performance and compatibility.

    • Next search for <body>   and just below this tag paste the following code:

    Note:
    If you are using the new blogger templates like Simple, Awesome Inc., Travel, Watermark or Picture window then please search for <body instead. Make sure to paste the code below the entire body tag.

    <div id='fb-root'/>
    <script>
    //Facebook Recommendation bar by www.bloggerheroe.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=AP ID HERE";
      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.bloggerheroe.com' trigger='40%'/></div>
    </b:if></b:if>

    • Replace APP ID HERE with your APP ID which you have created in first part
    • Replace http://www.bloggerheroe.com with your blog URL.
    • The widget will only appear on post pages and not on homepage or static pages. To display it on all pages, then simply delete the lines in blue color.
    • If you want to change number of recommendations then simply change the value 3
    • If you don't want to show your old articles then edit the value max_age='0',you can set it to 1-180.But if you don't want to take age into account then let it be 0 as default.
    • If you want to change position of bar to right to left then simply replace right with left. 
    • When any visitor comes to your blog,after specific time the bar expand.I have set the time to 10 seconds to chnage it just change value 10.
    • Finally save your template and visit your post pages.

    Visit your blog and scroll down about 50% of your page and wait for 10 seconds for the plugin to expand. Enjoy the new way of free pageviews juice! :)

    0 comments:

    ◄ Newer Post Older Post ►
     

    Copyright 2013 Sinhala MP3Create Blog Template by Farhan Share and Tuliskan