Facebook "Like" Button on Blogger

/ Published in: JavaScript
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <script language="javascript">
  2. fb_like = &quot;http://www.facebook.com/plugins/like.php?href=<b:if cond='data:blog.url'><data:post.url/></b:if>&quot;;
  3. document.write(&quot;<iframe scrolling='no' frameborder='0' allowTransparency='true' style='border:none; margin:10px 0 0 0; overflow:hidden; width:450px; height:auto;' allowtransparency='true' src='&quot;+ fb_like +&quot;'/>&quot;);
  4. </script>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.