Saturday, March 3, 2012

Cara Pasang Komentar Facebook Di Blog




Mau tau caranya??
1. Login Blogger
2. Pilih Rancangan
3. EDIT HTML
4. Centang tulisan Expend Widget
5. Car kode yang mirip di ibawah ini :
</b:includable>
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
<b:includable id='comment-form' var='post'>
<div class='comment-form-block'>
Jika sudah ketemu tambahkan kode komentar fb ini di attas </b:includable> :
<b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='fb-root'/>
<script src=' http://connect.facebook.net/en_US/all.js#appId=323420961010532&amp;xfbml=1'/>
<fb:comments expr:href='data:post.url' num_posts='2' width='477'/>
</b:if> 
Hasilnya seperti ini sob :
<b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='fb-root'/><script src=' http://connect.facebook.net/en_US/all.js#appId=xfbml=1'/><fb:comments expr:href='data:post.url' num_posts='2' width='477'/></b:if></b:includable><b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
<b:includable id='comment-form' var='post'>
<div class='comment-form-block'>

Semoga Membantu!

Sumber