How to Add Facebook Page Like Box in Blogger

With over billions of active users, Facebook is one of the best social media platforms for bloggers to promote their blog content. You can easily target your audience on Facebook and get a good amount of traffic on your blog instantly.

Add Facebook page like box in Blogger


It’s quite easy to create a Facebook page, but the most difficult part is to get some likes on it. There are a couple of methods to increase likes on your Facebook page. One of the best methods is to add a page like box on your blog which allows your visitors to like your Facebook page directly.

Facebook page plugin has made it very simple to embed and promote any Facebook page on third-party websites. This tutorial will guide you how to add a Facebook page like box on your Blogger blog.

How to create your Facebook page plugin

Here’s a step-by-step guide to create a page plugin of your Facebook page –

  1. Go to Facebook Page Plugin.
  2. Enter the URL of your Facebook page.
    Create Facebook page plugin
  3. If you don’t want to show your feed posts, remove “timeline” from the Tabs field. You can see the live preview of your Facebook page like box in the preview tab.
  4. If you want to make the plugin’s width responsive, enable “Adapt to plugin container width” button. Otherwise, you can enter the height and width of the embed manually.
  5. Once you have configured the plugin, tap “Get Code” button. Here you can choose your App ID and language.
  6. Now copy both JavaScript SDK and HTML code.

There is another code available for iFrame. You can either use iFrame or JavaScript SDK for the Facebook page plugin, but we will recommend you to use JavaScript SDK.

How to add Facebook page like box in Blogger

This step-by-step guide shows you how to add Facebook page like box in your Blogger blog –

  1. Login to your Blogger Dashboard and go to Layout section.
  2. Click “Add a gadget” link in the sidebar section in your blog layout or anywhere you want to add your Facebook page like box.
  3. After this, click “HTML/JavaScript” option.
    Add HTML/JavaScript gadget
  4. Type “Follow us on Facebook” or any other tagline in the title box.
  5. Now paste the plugin code you have copied earlier in the content box.
    If you don’t want to create your own Facebook page plugin, you can alternatively copy and paste the following code –

    <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 = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v3.2&appId=yourAppID&autoLogAppEvents=1';
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-page" data-href="https://www.facebook.com/pageusername/" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/pageusername/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/pageusername/">Your page name</a></blockquote></div>
    

    Make sure to change all highlighted text according to your Facebook page.

  6. Finally, tap the “Save” button to save the widget on your blog. That’s it.

So that’s how you can add a Facebook page like box widget on your Blogger blog. If are facing any problem, feel free to share it in the comment section below.

About the author

Vivek Chaudhary Author
Content marketer & founder @Geek Instructor. With over a decade of experience, I have written over 1500 articles covering a wide range of topics. I am passionate about sharing my tech knowledge with others. Personally, I love travelling and making YouTube videos.

Leave a Comment

Your email address will not be published. Required fields are marked *