As we know Facebook is a big social media site and
receiving millions of daily visitors, therefore
Facebook also introduce many new widgets and
plug-ins for bloggers and web developers which is
very useful and essential to get traffic from social
media. As we recently discussed on Facebook
Comments System widgets for blogger to get more
traffic from Facebook and today we learn that how
to add Facebook activity feed plug-in in Blogger.
This is also great tool to get traffic on your latest
posts from Facebook so lets have a look on our
todays article to get a clean and simple instruction
this plug-in in blogger. Also have a look on:-
- Add Facebook Like Button In Blogger
How To Add Facebook Activity Feed Widget To Blogger?
- Go to Blogger > Template
- Click on Edit HTML
- Now search <body> tag using ctrl+f
- Just below <body> tag 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 = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
- Click on save template
- Now go to Blogger > Layout
- Click on add a gadget
- Now add a HTML / JavaScript gadget and paste the following code in it
<div class="fb-activity" data-site="http://mhahnh786.blogspot.com/" data-width="300" data-height="450" data-border-color="#ffffff" data-header="false" data-recommendations="true"></div>
- Change Green color link with your site link
- Leave the size as default
- Now click on save and you are done