How To Add Facebook Activity Feed To blogger - Know What Happens In Your Facebook Id In Blogger

 facebook activity feed for blogger

Go To Blogger > Template  
Backup your template
click Edit HTML
Optional step: If you have a Facebook comments plugin or Recommendations bar installed on your blog then you may skip to step#5 instead.

Search for the following tag inside your template:


or simply search for

  Just below this body tag paste the following JavaScript SDK 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); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

  Save your template.

      5.  Next go to Blogger > Layout

      6. Click add a gadget and choose HTML/JavaScript widget

      7. Inside your HTML/JavaScript widget paste the following HTML5 code:

<div class="fb-activity" data-site="" data-width="300" data-height="450" data-border-color="#ffffff" data-header="false" data-recommendations="true"></div>

Make these changes:

Replace  with your website URL. For BlogSpot blogs it should have the following structure:

I have set width to 300 pixels (300)and height to 450 pixels (450). Adjust them according to your blog layouts only if alignment changes are required. Increase height if you want to display more stories inside the plugin.

In order to hide the blue border across the plugin, I have set the border to white. If your sidebar has a different colored background then adjust the background color by editing: #ffffff    Tip: Use our color generator tool

Friends likes appear above and recommended posts appear below that as bolded titles. If in case you don't want the plugin to display recommended stories then you can turn off recommendations by replacing true with false