caranya harus punya
App ID: 33037147xxxxxx
App Secret: 8e50cdb8ed530b8xxxxxxxxxx(reset)
kalau belum bikin lewat facebook developer
<data:post.body/> (untuk setiap template berbeda-beda posisi code itu , untuk yang telah memasang read more silahkan cari kode seperti itu yang kedua)
Pasang script berikut ini dibawah kode tadi
<b:if cond='data:blog.pageType == "item"'>
<div id='fb-root'/>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'XXXXXX', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<fb:comments/>
</b:if>
<b> by <a href='http://juntenxblog.blogspot.com/' target='_blank' title='Facebook Comment'>Facebook Comment </a></b>
Ganti tanda xxx dengan App ID/API Key yang telah anda buat sebelumnya , lalu tekan simpan dan lihat hasilnya.
Cukup mudah bukan untuk pasang kotak komentar facebook pada blog , silahkan bila anda masih kebingungan dengan cara buat kotak komentar facebook maupun cara pasang komentar facebook untuk berkomentar.
Tidak ada komentar:
Posting Komentar