Hello Friends we're previously discussed about the Statistics Data of blogs and websites this is the very important thing for run your blog or website in search optimization if you are not read this statistics tutorial so, don't worry click this link to go this tutorial that is
How to Install Google Analytics in blogs and websites. And today I'm going to share an amazing but useful social plugin that is Facebook comment box. As you know about Facebook comments box and you can see this at your Facebook Timeline but you can not see in any blogs if you can see this comment box in some blogs but there are not in tabs. Today I share this amazing Facebook comments system inside the tabs do you know ? that's contain both Facebook and Blogger Comments Tab so, you no need to add specially after install blogger comments after it. Every blogger want to know their blog is different from another blogs and unique. You can visit some popular website and the end of their post you have seen an blue color Facebook comments box this is the best plugin to increase your posts or articles like and also gain more social traffic from this.
Facebook Comments box has a like a third party commenting box like a discus and some other. They are now also being Index by Search Robots. In our first Social Widget posts on
Facebook Popup Like Box for Blogger and also
Social Subscription Widget for Blogger this two widget of social networking sites for blogger blogs was most appreciate by most of the visitors and helped most of you. If you are like to first see this Facebook & Blogger comments box in blogger blog so, click this live demo link.
After see this plugin's demo I would like to explain this comments box and how it work on blogger blogs. This widget are useful widget but complicated to install. This plugin show bot Facebook and Blogger comments inside the tabs which can be easily to choose and switched to write comments. The Tabs like two comments provider that let the user decide which commenting provider to choose, also it include Yahoo, Hotmail and AOL. This plugin are complicated to install but once this plugin installed in your blogger blog then your blog look like a Facebook Post. Don't waiting read the following steps to install it.
Just follow below steps.
How To Show Blogger + Facebook Comments Inside The Tabs?
Step#1:In order to install Facebook Comments box in blogger box you need to create a application or app on Facebook follow below steps.
- Go to Facebook Developer Page
- Create a new app and enter your blog URL and fill the full form with your choices, like below image.
- After filled the form Hit the "Create App" and go to next step
- Now copy your App ID which have got from Facebook and save it in notepad because this used in later, like below image
- Now Click On "+Add Platform" Button.
- and choose the "Website" Platform
- Enter your blog URL and Mobile URL, like below image
- After enter your blog URL then click on "Save Changes" Button.
Step#2:Creating Tabs of Facebook Comments and Blogger Comments for decide to write comment in which provider this tabs show in your each posts ending follow below steps.
- Go to Blogger Dashboard>>Template>>Edit HTML
- Search this tag <head> using (Ctrl+F)
- Paste Below code just after it.
<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.url' property='og:url'/>
<meta content='article' property='og:type'/>
<meta content='YOUR-BLOG-LOGO-IMAGE-LINK' property='og:image'/> <meta content='YOUR-FACEBOOK-APP-ID' property='fb:app_id'/>
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<script type='text/javascript'>
function commentToggle(selectTab) {
$(".comments-tab").addClass("inactive-select-tab");
$(selectTab).removeClass("inactive-select-tab");
$(".comments-page").hide();
$(selectTab + "-page").show();
}
</script>
- Replace YOUR-BLOG-LOGO-IMAGE-LINK with your Blog Logo Image link or your blog Favicon link.Your logo image size should be as square or 30px by 30px in size.
- Replace YOUR-FACEBOOK-APP-ID with your Facebook App ID which has got from facebook and you can save it in notepad in fourth line of step#1.
- Now again search this code or tag
<html
- Replace the above code with the below code
<html xmlns:fb='http://www.facebook.com/2008/fbml'
Note : Give a space ate the end of the above code.
]]></b:skin>
- Just above it paste the following below code
<--- Start Tabbed FB Comments By NBT ---->
.comments-page { background-color: #f2f2f2; width:450px;}
#blogger-comments-page { padding: 0px 5px; display: none;}
.comments-tab { float: left; padding: 5px; margin-right: 3px; cursor: pointer; background-color: #f2f2f2;}
.comments-tab-icon { height: 14px; width: auto; margin-right: 3px;}
.comments-tab:hover { background-color: #eeeeee;}
.inactive-select-tab { background-color: #d1d1d1;}
<--- End Tabbed FB Comments By NBT ---->
<div class='comments' id='comments'>
Note : After the first occurrence of the above available code paste below given code.
<div class='comments-tab' id='fb-comments' onclick='javascript:commentToggle("#fb-comments");' title='Comments made with Facebook'>
<img class='comments-tab-icon' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrYTj9I3adYXm2-RPth5Kct7faYxzJc5f5tUTBOKf5q9GbWpLSitbri5I1WFb7ftiS4bFXBCrmmDEYR8K2HLW_lx4RxXa1XZ2TDSlw-p5jNmk4sIeY305sTV6G4laR9f8FltR8TBMzj00/s400/fbcomment.png'/>
<fb:comments-count expr:href='data:post.url'/> Facebook
</div>
<div class='comments-tab inactive-select-tab' id='blogger-comments' onclick='javascript:commentToggle("#blogger-comments");' title='Comments from Blogger'>
<img class='comments-tab-icon' src='http://www.blogger.com/img/icon_logo32.gif'/> <data:post.numComments/> Blogger
</div><div class='clear'/> </div><div class='comments-page' id='fb-comments-page'>
<b:if cond='data:blog.pageType == "item"'>
<div id='fb-root'/>
<fb:comments colorscheme='light' expr:href='data:post.canonicalUrl' expr:title='data:post.title' expr:xid='data:post.id' width='450'/> <div style='color:#fff; background-color:#3B5998;border: solid 1px #ddd; font-size:10px; padding:3px; width:440px;'>Facebook Comments by
<b><a href='http://www.mybloggertricks.com/' style='text-decoration:underline; color:#fff;' target='_blank' title='Blogger Widgets'>Blogger Widgets</a></b>
</div>
</b:if>
</div>
Note : If the above code gave error during the save template the delete the red bolded code in above code.
- Now, Finally Save Your Template.
How To add Other comments providers?
If you can enable more emails and comments provider in this Facebook Comments system you can add maximum four email and comments provide see name below.
- Yahoo!
- AOL
- Hotmail
- Windows Live
To Enable other login providers to this facebook comments box, click on setting link on the top of this comments box inside your post and then click on check box to allow other login providers
then click on save button.
Final Words
I hope you can add this Facebook comments box in blog if you're facing problem then you can leave comments for your solution and don't forget to like our Facebook page.
Happy Blogging!