to make the comment easier, you use the comment box facebook in your blog,
How to make it?
first of all you hidden the deffault comment:
goes to your account, and than click
- Setting
- comment
- select hidden
- and save
Now the step to make comment box :
1. login to your facebook
2. Goes to Facebook developer
3. chose app and create new app
and than
and than add the code in blogger template :
goes to design and than edit HTML and than give check at expand template widget,
and than :
press CTRL + F and find <body
and than Copy this script below of <body
<div id='fb-root'/>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'your APP-ID ',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
(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>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'your APP-ID ',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
(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>
- change App id with your App Id, and than Find </head>
- and copy this script below </head>
<b:if cond='data:blog.pageType == "item"'>
<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.url' property='og:url'/>
<b:else/>
<meta expr:content='data:blog.title' property='og:title'/>
<meta expr:content='data:blog.homepageUrl' property='og:url'/>
</b:if>
<meta content='Your Blog Name' property='og:site_name'/>
<meta content='http://google.com/help/hc/images/logos/blogger_logo.gif' property='og:image'/>
<meta content='your APP-ID' property='fb:app_id'/>
<meta content='your Profile-ID-Facebook ' property='fb:admins'/>
<meta content='article' property='og:type'/>
- and than find <data:post.body/>
- copy this script below that
Save You Setting,,,,, Good Luck...
if your confuse, just leave a comment,,,klik the advertise please,, :-)
note : Download your deffault template to keep your template, if this there is something wrong,,,,
No comments:
Post a Comment
tinggalkan komentar