Welcome To "Softway RKO" !

What You Can Get in Softway RKO?

We provide the tutorials, guides, articles, tricks and tips about Blogger, Blogging, SEO Tips, Basic Tips For New Bloggers, Making Money Online, Widgets, Templates and many more resources. All this is just for free! You can Sign Up to get updated for Latest Posts.

Wednesday, May 28, 2014

Filled Under:
,

Add Facebook Recommend Bar widget for Blogger


HTML tutorial

Click Below Ad for Leaning Blogging Tricks.

Next Blogger Tricks

Hello Bloggers today i am going to show , how to add Facebook Recommend Bar widget for Blogger/Blogspot with like Button. this widget are very helpful you to get massive traffic from Facebook friends and public to your blog and also increase your blog pageviews and decrease bouncing rate of your blog When your blog visitors can easily read your post then those visitor click on recommend button in your post to their friends in only just one click by using this widget. This widget are very useful and free and easy to install in your blogger
Note :- This widget also work on Website if your website domain is .com ,.net, .org,etc. it also work on this websites. To add this widget on your blog follow this simple steps.

Also read:-Add Facebook Sliding Like box for Blogger/Blogspot

How to Add Facebook Recommend Bar widget for Blogger:-

  • Go to Blogger Dashboard>>Template
  • Click on Edit HTML Button
  • Press (Ctrl+F) and find this code
xmlns:expr='http://www.google.com/2005/gml/expr'
  • just Above code insert xmlns:og='http://ogp.me/ns#' {Don't forget to give space between both codes
  • this code look like this image
xmlns:expr='http://www.google.com/2005/gml/expr'
xmlns:og='http://ogp.me/ns#'>

  • Then find this tag in your template </head>
  • Paste the following code before  </head>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
    <meta content='article' property='og:type'/>
    <meta expr:content='data:blog.title' property='og:site_name'/>
    <meta expr:content='data:blog.pageName' property='og:title'/>
    <b:if cond='data:blog.postImageThumbnailUrl'>
        <meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
    </b:if>
<b:else/>
    <meta expr:content='data:blog.title' property='og:title'/>
    <meta content='website' property='og:type'/>
</b:if>
<meta expr:content='&quot;en_US&quot;' property='og:locale'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>

  •  You are Successful to add meta tag in your blog but after this follow this steps carefully because this a main part of this widget.
  • Again find this tag <body> in your template.
  • Paste the following code before/above <body>
 &lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script&gt;(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 = &quot;//connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;appId=YOUR-FACEBOOK-APP-ID&amp;version=v2.0&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  • Replace YOUR-FACEBOOK-APP-ID with tour facebook app ID
  • Now find this code <data:post.body/> in your template 
  • Paste the following code after this <data:post.body/>
<div class="fb-recommendations-bar" data-site="softwayrko.blogspot.com" data-read-time="20" data-side="right" data-action="like" num_recommendations="2"></div>
  • Replace the softwayrko.blogspot.com with your blog URL
  • Replace 20 this represent the number of seconds before the widget shown recommend posts
  • Replace right with your desired position in your blog
  • Replace 2 with the number of recommend posts you want to display
  • Finished!


0 blogger-facebook:

Comment here

 
  • Home
  • About Us
  • Contact Us
  • Sitemap
  • Privacy Policy
  • Back To Top