Facebook Like Box for Blogger

Facebook Like Box for Blogger is easy.

1) Go to Blogger Layout
2) Add Widget
3) Select HTML/ JavaScript
4) Paste below code in the widget.

Facebook Like Box for blogger is done.

Note: replace yourfacebookpage below with your facebook page.

<div id="fb-root"></div>
<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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like-box" data-href="https://www.facebook.com/yourfacebookpage" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>


No comments:

Post a Comment