Pages

Receive More Updates

Date: - Time:
SMS: Send FOLLOW BALLOWAP To 40404 For Free - EMAIL: azeezbello8@gmail.com

Friday, 16 January 2015

How To Add Facebook Mobile Comment Form To Blogger / Blogspot Mobile View

If you've enabled custom Blogger mobile template, you can customize the mobile view of your blog as you desire. You can add and remove whatever you like in as much as you know how to go about it. Today, I have decided to share with you, how to add Facebook mobile comment form to Blogger or Blogspot mobile view.




facebook mobile comment box





To get started, I recommend you enable Custom Blogger mobile template. If you don't know how to do that, sign in to your blog, go to "Template". Click the icon under "Mobile". Select "Yes. Show mobile template on mobile devices". Select "Custom" from the drop down box and SAVE.



Next is to get your blog's Facebook APP ID handy. If you know the ID, copy it somewhere and if you've forgotten it, you can check the Facebook apps page. If you can't find it on the apps page, then you need to read how to get Facebook application ID for your blog here.



Next is to log in to your Blogger dashboard, back up your template and go to "Template" > "Edit HTML"



==> Click inside the HTML and use CTRL F to find : <body

==> Directly below it, paste <div id='fb-root'/>






==> Open a new tab on your browser and go to www.freehtmlparser.blogspot.com

==> Copy and paste the code below inside the box on the page




<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/sdk.js#xfbml=1&appId=1569785879914041&version=v2.0";

  fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>



==> Carefully replace the highlighted appID with the Facebook app ID of your blog

==> Click "Encode"



==> Go back to the browser tab where you have your blog HTML



==> Copy and Paste the encoded script directly below the  <div id='fb-root'/>



==> Now, your HTML should look similar to the screenshot below:









==> Click "Save Template"



==> Click inside the HTML and use CTRL F to find :




<b:if cond='data:top.showMobileShare'>



==> Carefully find the ending </div> as seen in the screenshot below:













==> Directly below it, copy and paste the code below:




<p align='center'>

<span style='font-size: 15px;font-weight:bold;'>Facebook Comment Box </span>

</p>

<div style='text-align: center;'>

<fb:comments expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' mobile='yes' numposts='10'/>

</div>



--> Click SAVE Template.



View one of your blog posts and the comment box should appear on the mobile view,  above the Blogger comment form.



Try this and let me know if it works for you. Also leave your comments if you've questions to ask.



Note: You might not find in your template if you are using a third-party template.





Thursday, 13 March 2014

Facebook Comment Form Not Working? Try This Solution for Blogspot Blogs

If you've been finding it difficult to integrate the Facebook comment box with your Blogger blog, sit back and relax as I guide you on how to add Facebook comments plugin to Blogspot blogs using HTML5.



For you to add the Facebook social plugin to your blog, you will need the Facebook Application ID of the blog. If you know the ID, copy it somewhere and if you don't know it you can check the Facebook apps page.



You can read: How To Get Facebook Application ID to generate one for your blog.



Next is to log in to your Blogger dashboard, back up your template and go to "Template" > "Edit HTML"



==> Click inside the HTML and use CTRL F to find : <body



==> Directly below it, paste <div id='fb-root'/> OR <div id="fb-root"></div>



==> Open a new tab on your browser and go to www.freehtmlparser.blogspot.com

==> Copy and paste the code below inside the box on the page




<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&appId=522587054526444";

  fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>



==> Carefully replace the highlighted appID with the ID of your blog

==> Click "Encode"



==> Go back to the browser tab where you have your blog HTML



==> Copy and Paste the encoded script directly below the  <div id='fb-root'/>



==> Now, your html should look similar to the screenshot below:









==> Click "Save Template"



==> Click inside the HTML and use CTRL F to find :


<div class='post-footer-line post-footer-line-3'>


 OR


<div class='post-footer-line post-footer-line-3'/>


 OR


<data:post.body/>



==> Directly below it, paste this code : 




<b:if cond='data:blog.pageType == &quot;item&quot;'>

<p align='center'>

<img alt='' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_i6bwzBUZd9Uko4OfIk0eV0Ha_mVxz0ilZamN1zUwGZk8zGzmQPKDQdp_eN7V84Fy_JWK3bzTV91J7y4YESw5gL7iz8ESDXRbHrLVuPxrSPfbphKoUtZtJM3Nfc0ZpvOFSilCo_0IGMLT/s1600/cmds.png'/> </p>

<div style='text-align: center;'>

<div class="fb-comments" expr:href='data:post.url' data-width="100%" data-numposts="10" data-colorscheme="light"></div></div>

</b:if>



==> Click "Save Template"



That's all.



Check out the desktop view (not Mobile View) of any post on your blog and you should see the comment form below the post.



Please, let me know if it works for you.



Also use the comment form to let me know if you face some challenges.



Please, SHARE this with friends.



Cheers!



Subscribe to this blog if you don't want to miss my tutorials on how to add Facebook comment form to Blogger mobile templates and how to receive notifications On Facebook when anyone comments on your blog, using the Facebook comment form. 

PLACE YOUR ADS HERE