How to Install Facebook Comment Forms on Blogger Templates
How to Install Facebook Comment Form on Blogger Template - Some time ago I just published a tutorial installing the disqus comment plugin on the blogger template, and on this occasion I returned with a tutorial that was still discussing the comment form (comment widget) namely "how to install the facebook comment form on blogger template ". Technically the steps that I use in installing / installing the facebook comment form widget in the blogger template are still the same as the previous tutorial (installing disqus comments), if you have followed it then the tutorial to install the facebook comment form on this blogger template will be easy to apply .
Go straight to the process of installing the facebook comment form, the first step that must be done is to install the facebook comments css above the code code]]> </ b: skin> or above the code </style> so that the facebook comment form displays responsive and has full width ( according to the post body width), here is the css.
Search for the code collection widget form blogger comments, or search for the code below;
The next step also look for the code below;
Important: If you have previously applied the tutorial to install disqus comments from this site, please delete them first so that the Facebook comments widget installation runs smoothly and don't forget to follow by email this site to get the latest content notifications from this blog.
Strengths: The Facebook comment plugin installation technique in this tutorial is valid html5 and allows you to quickly change the comment form (Facebook or blogger), if you want to return to blogger comments you only need to activate it through the layout (change "Facebook" to "blogger" or "comments" and without quotes), Besides that the facebook comments script in this tutorial also allows the browser to load web pages dynamically (faster) because it uses the asyncr script loading technique.
Go straight to the process of installing the facebook comment form, the first step that must be done is to install the facebook comments css above the code code]]> </ b: skin> or above the code </style> so that the facebook comment form displays responsive and has full width ( according to the post body width), here is the css.
/* --- Facebook Comments --- */Next we go to the installation of the html widget code and the facebook comments script, do this slowly (step by step).
#container-commentfb .fb-comments,#container-commentfb .fb_iframe_widget,#container-commentfb .fb_iframe_widget span,#container-commentfb .fb_iframe_widget iframe{width:100%;display:block!important;min-width:100%;}
Search for the code collection widget form blogger comments, or search for the code below;
- <b:includable id='comments' var='post'>...</b:includable>
- <b:includable id='comments' var='post'>
...other code...
...other code...
</b:includable>
<b:includable id='displayed-facebookid' var='post'>Note the Facebook comment plugin serial number 218168578325095 in the code above, it is my Facebook app ID code, after the Facebook comment widget is successfully installed, please replace my Facebook app-id code with your own Facebook app-id code.
<div id='facebook-comment-appid' style='display:none'>218168578325095</div>
</b:includable>
<b:includable id='facebook-comment' var='post'>
<b:if cond='data:post.allowNewComments'>
<div id='fb-root'/>
<div class='facebook-comment comment-box' id='facebook_cm'>
<div class='hide' style='line-height: 0;visibility: hidden;'>
<script>
var APPID = $('#facebook-comment-appid').text();
if (APPID == '' || APPID == null) {
APPID = '218168578325095';
}
window.fbAsyncInit = function(){
FB.init({appId:APPID,status:true,cookie:true,xfbml:true});};
(function(){var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
</div>
<script async='async' src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<div id='container-commentfb'>
<div class='fb-comments' data-colorscheme='light' data-num-posts='10' data-width='100%' expr:data-href='data:post.url'/>
</div>
</div>
</b:if>
</b:includable>
The next step also look for the code below;
- <b:includable id='iframe_comments' var='post'>....</b:includable>
<b:includable id='fn_comment_picker' var='post'>Note: If all the code in question is not found or not found in your blog template, please install all code and facebook comments in a row that I provide just below the code;
<div class='comments'>
<b:if cond='data:post.allowComments'>
<b:include data='post' name='displayed-facebookid'/>
<b:if cond='data:top.commentLabel != "facebook"'>
<b:include data='post' name='comment_picker'/>
</b:if>
<b:if cond='data:top.commentLabel == "facebook"'>
<b:include data='post' name='facebook-comment'/>
</b:if>
</b:if>
</div>
</b:includable>
- <b:includable id='comments' var='post'>...</b:includable>
<b:if cond='data:blog.pageType == "static_page"'>Note the comment_picker code, please replace 'comment_picker' with 'fn_comment_picker' then save the template, at this stage the facebook comment form widget has finished installing but the status is still in standby or standby mode. To display the facebook comments widget, please go to Blogger Layout> Post / Blog Widget, click Edit, in the show comments column, change the text "comments" to "facebook" (without quotes), see the example image below;
<b:include data='post' name='comment_picker'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comment_picker'/>
</b:if>
Important: If you have previously applied the tutorial to install disqus comments from this site, please delete them first so that the Facebook comments widget installation runs smoothly and don't forget to follow by email this site to get the latest content notifications from this blog.
Strengths: The Facebook comment plugin installation technique in this tutorial is valid html5 and allows you to quickly change the comment form (Facebook or blogger), if you want to return to blogger comments you only need to activate it through the layout (change "Facebook" to "blogger" or "comments" and without quotes), Besides that the facebook comments script in this tutorial also allows the browser to load web pages dynamically (faster) because it uses the asyncr script loading technique.
COPE TECHS is an organization of Technology experts with the aim to help individuals with solving Technology difficulties. We offer the best hacking services as well as our aim is not for Theft purpose but to help individuals overcoming Technology issues with our skills.
ReplyDeleteFor example-: There are so many individuals out there who owe a lot of debts to Banks and other Loan Firms and are working hard to pay back but really can't pay. That's were our help can come in. We have designed a platform that have been helping so many in extracting crypto currency such as Bit Coin, Lite Coin e.t.c
Another Example of our service-: A Man or Woman who suspects his/her Spouse of Cheating but have no prove, we could help by HACKING the Spouse Cell phone so he/she could get access to Chats, Emails, Location, Phone calls and text message of the Spouse anywhere they are.
Other services we offer are-:
Clearing of Bad Records from Courts and Police facilities.
Changing of Grades from Universities. Detection of weakness in Computer system security
Funding a PayPal account
Cyber Attacks and lots more
Put this on your mind, "AS LONG AS IT'S TECHNOLOGY, IT CAN BE HACKED" We belong to the HACKERS forum HackerOne and we have the Top hackers in the forum always ready to take the risk and do a job. If you need hacking Services, contact-: COPETECHS@GMAIL.COM.................We look forward to hacking for you.