Colocar os comentários do Facebook junto com os do blog

Views:
Primeiro código:

<div class='comments-tab' id='fb-comments'  onclick='javascript:commentToggle(&quot;#fb-comments&quot;);'  title='Comentários no Facebook'>
<img class='comments-tab-icon' src='https://1.bp.blogspot.com/-Qx9e7BVEJG8/WJxq4Z1tvcI/AAAAAAABUhU/SvSQway4uDExwcIrS67a9dpfj0m7I7s5ACLcB/s1600/facebook.png'/>
<fb:comments-count expr:href='data:post.url'/> Comentários
</div>
<div class='comments-tab inactive-select-tab' id='blogger-comments'  onclick='javascript:commentToggle(&quot;#blogger-comments&quot;);'  title='Comentários no Blogger'>
<img class='comments-tab-icon'  src='https://3.bp.blogspot.com/-EBmUtUU2gNA/WJxq4VCdr3I/AAAAAAABUhQ/AZSetZPToYEl9k0FECn9UEx7bjaZvH2MgCLcB/s1600/blogger.png'/>  <data:post.numComments/> Comentários
</div><div class='clear'/>
</div>
<div class='comments-page' id='fb-comments-page'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='fb-root'/>
<fb:comments expr:href='data:post.url' num_posts='3' width='450'/>
</b:if>
</div>
<div class='comments comments-page' id='blogger-comments-page'>



Segundo código:

<script src='http://connect.facebook.net/pt_BR/all.js#xfbml=1'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<meta content='SEU ID' 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>


Terceiro código:

.comments-page {background-color: #f2f2f2;}
#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;}





Home Sobre mim Tutoriais Loja de templates Portfólio Fanpage