New Facebook Comment form for Blogger/Blogspot Blogs( reply & notifications enabled)


In one of my previous posts, I shared with you, How to add Facebook Comment Form to Blogger Blogs (Template Designer layouts inclusive). As at the time of publishing this post, Facebook has upgraded the comment form with the "reply" option, while also enabling the admin to receivefacebook notifications anytime comments are made on blogs via the facebook comment form. Hence, today, I will explain to you how to add the new facebook comment form to blogger/blogspot blogs.

In this tutorial, it is not compulsory you disable your blogger comment form but I will advise you  to back up your blogger template before carrying out this installation.


STEP 1:  Visit Facebook developer page .

You might be asked to verify your account, choose any of the verification options to complete the verification.
Thereafter you will see a small form, enter your blog name ( you can type any name ).
Then, enter your blog url
 with an ending slash in Site URL (for example:ogbongeblog.blogspot.com/) and click on "Create application".

Don't forget to put the "/" sign at the end of your blog url as indicated in the picture below.


If successful, you should then see a page displaying your application info. Now copy the App ID as indicated in the picture below and save it in a notepad.

STEP 2: Login to you Blogger dashboard and navigate to Layout > Edit HTML and tick the small "Expand Widget Templates" box. Using "CTRL+F
", search for the code <body> OR <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> and paste the code highlighted below directly under it and save the template.

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=141084445958514&amp;xfbml=1"></script>

Replace the APPID in the code above with your APP ID provided from Facebook which you copied in Step 1 and save the template.

After adding the code, your code should now look like: 


STEP 3:  Still in Design/Layout > Edit HTML and tick the small "Expand Widget Templates" box. Using "CTRL+F", search for the code
<data:post.body/>  and paste the "comment form code" highlighted below directly under <data:post.body/>  and save the template.


<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <p align='center'><a href='http://www.ogbongeblog.com'><img alt='' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRdg0344Qdudcl0217xmXV0tiXEaLPtGQ1jLa6ylxhpvxyz3AKhBGRWLj3oLVn6JJRZfZhL9moPCwI9D73ZW4jlwHIBNRqul5uVElg0cUxmM7kQz1ayCXbq3Jdd1CibR1zuFAQK8yaCAQ/s320/commentpix.png'/></a></p> 
<fb:comments expr:href='data:post.url' numposts='10' width='500'/>
  </b:if>



You can  adjust the WIDTH too to any size you want (the 500 is ok).

SAVE your template and view one of the POSTS on your blog. You should see the comment form.

NOTE:
In this tutorial, I have used the <b:if cond='data:blog.pageType == &quot;item&quot;'> conditional tag to restrict the comment form to the post pages. Hence, you might not see it on the Homepage and also on PAGES but you will definitely see it under your blog posts.
If u remove the <b:if cond='data:blog.pageType == &quot;item&quot;'>conditional tag together with it's </b:if> closing tag from the comment form code above, then, the form will appear on all pages of your blog and also on the homepage.

That's all. SAVE your template and view your blog. You should see the comment form.

So, How about the Notifications?

You will need to add some codes to your blog html so you can be receiving facebook notifications and also to be able to moderate the comments. 

So, Login to you Blogger dashboard and navigate to Layout > Edit HTMLand tick the small "Expand Widget Templates" box. Using "CTRL+F
", search for the code <b:skin><![CDATA[/

Directly above it, copy and paste the code below.
<meta content='786750191' property='fb:admins'/>
<meta content='171263696241215' property='fb:app_id'/>

You will have to edit the two numbers highlighted in red in the code above.
Replace the 171263696241215 in the code above with your appID which you copied in Step 1 earlier on in this tutorial and replace the 786750191with your Facebook Profile ID.

Don't know how to get your Facebook Profile ID? read: "How to get Facebook profile ID"

Once, you are through with replacing the appID and Facebook Profile ID,SAVE your template.

Whenever anyone leaves a comment on your blog via the facebook comment form, you will receive the notifications via your facebook profile as you can see in the picture below:   



So, How Do I Moderate and Reply to Comments?

Whenever you want to moderate your comments, just go to :http://developers.facebook.com/tools/comments 
You can bookmark it for easy access. You can also easily be replying comments from the page. 

What If I want to hide Blogger's comment form?

If you want to Hide the Blogger's comment form;  go to: Settings >Comments > Comments, and mark the Hide radio-button and click on "Save Settings".



I hope this info helps...

If it works for you, kindly use the comment form to share the link to your blog, so we can check it out.

Connect with me on facebook via www.facebook.com/jideogunsanya 

If you don't seem to get it working, contact me, BUY ME A DRINK  and I will install it for you...lol

For more info on the features of the new facebook comment form, check out: 
http://www.strictlyonlinebiz.com/blog/top-facebook-comment-box-features/2088/

In my future posts,  I will share with you, how you can add the Facebook "Recommend button",  "Login button" , "Like Box" etc to your blogger blog. So, SUBSCRIBE to this blog now if you don't want to miss them,even if I post them here, when you are not online.
Share on Google Plus

About dadasdasdas

My name is Subha. I’m interested in computer science, music and literature. Computers first appeared in my life when I was fifteen. Then I had got my first computer. I remember myself thinking, that it was the best thing in the world. I was playing it whenever I could but some time later, I noticed that I could do a lot more things with the computer, for example programming. So, I have started my graduation in Computer. Later i have decided that I can spread my knowledge among peoples. So, I have started blogging.
    Blogger Comment
    Facebook Comment

1 comments:

Anonymous said...

You made some really good points there. I checked on the web to
find out more about the issue and found most people will go along with
your views on this web site.
Also see my webpage: Cheap Verizon Cell Phones Without Contract