Tuesday, May 29, 2012

FB Like and Comment box

Find :

 <data:post.body/>

After it paste :


<!-- Facebook Send script Start -->
<b:if cond='data:post.isFirstPost'>
<div id='fb-root'/>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = &quot;http://connect.facebook.net/en_US/all.js#xfbml=1&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));
</script>
</b:if>
<!-- Facebook Send script End -->
<!-- Facebook Send button Start -->
<div style='float:left;padding:5px 5px 5px 0;'>
<fb:send colorscheme='light' expr:href='data:post.url' font=''/>
</div>
<!-- Facebook Send button End -->


<iframe allowTransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2Fnamastenepalicom%2F148923448545600&amp;send=false&amp;layout=standard&amp;width=750&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=80&amp;appId=226288160777581' style='border:none; overflow:hidden; width:750px; height:80px;'/>





<b:if cond='data:blog.pageType == &quot;item&quot;'> 
<div style='padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;'><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/> 
<div> <fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' width='750'/></div> 
</div> 
</b:if>