Saya perlihatkan dulu demonya :
Cara Menambahkan Komentar Facebook di Blogger :
- Login terlebih dahulu akun Blogger Anda
- Setelah itu langsung saja menuju Template > Edit HTML
- Tambahkan code html dibawah ini di setelah <div class='comments' id='comments'>
<div class='comments-tab' id='fb-comments' onclick='javascript:commentToggle("#fb-comments");' title='Comments made with Facebook'>
<img class='comments-tab-icon' src='http://static.ak.fbcdn.net/rsrc.php/v1/yH/r/eIpbnVKI9lR.png'/><fb:comments-count expr:href='data:post.url'/> Comments</div>
<div class='comments-tab inactive-select-tab' id='blogger-comments' onclick='javascript:commentToggle("#blogger-comments");' title='Comments from Blogger'>
<img class='comments-tab-icon' src='http://www.blogger.com/img/icon_logo32.gif'/> <data:post.numComments/> Comments</div>
<div class='clear'/>
</div>
<div class='comments-page' id='fb-comments-page'>
<b:if cond='data:blog.pageType == "item"'><div id='fb-root'/>
<fb:comments expr:href='data:post.url' num_posts='2' width='610'/></b:if></div>
<div class='comments comments-page' id='blogger-comments-page'>
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><script src='http://code.jquery.com/jquery-latest.js'/><meta content='ID Facebook Anda' property='fb:admins'/><script type='text/javascript'>function commentToggle(selectTab) {$(".comments-tab").addClass("inactive-select-tab");$(selectTab).removeClass("inactive-select-tab");$(".comments-page").hide();$(selectTab + "-page").show();}</script><style>.comments-page { background-color: transparent;}#blogger-comments-page { padding: 0px 5px; display: none;}.comments-tab { float: left; padding: 5px; margin-right: 3px; cursor: pointer; background-color: #f2f2f2;}.comments-tab-icon { height: 14px; width: auto; margin-right: 3px;}.comments-tab:hover { background-color: #eeeeee;}.inactive-select-tab { background-color: #d1d1d1;}</style>
- Ganti width sesuai dengan ukuran main-wrapper template blog anda
- Ganti ID Facebook Anda
- Caranya buka halaman profile anda
- Kemudian ketikan di addreess bar http://graph.facebook.com/user_yang_tadi_diambil
- Contoh pada gambar di bawah ini :
- Ganti ID Facebook Anda dengan angka yang tertera pada graph facebook anda
- Kemudian Save HTML, dan selesai.
Share this article with your friends
4 komentar
mantab, ini nih yang belum ku coba tambahkan di blogcepotku, thanks mas, tak cobane :-)
Makasih kang sudah mampir dimari...
kie nangapa bro? deneng komentare ra ana fotone?
komentar sing ndi maksude?? sing nang blog.q kiye apa??
anu emang sengaja digawe kaya kue..
Posting Komentar
Jangan berkunjung tanpa meninggalkan jejak.
- No Spam - No Phising - No Live Link
Salam Blogger Indonesia, Silakan Tinggalkan Pesan Agan disini... !!!