Home » Blogger Tutorials, Tricks and Hacks » How to Add Facebook Invite Friends Link To Blogger

Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.

|| View All Tutorials ||

How to Add Facebook Invite Friends Link To Blogger

How to Add Facebook Invite Friends Link To Blogger

1 Star2 Stars3 Stars4 Stars5 Stars

Report Error

1,985 views

Here’s one useful feature that might be of help to add visual appeal and functionality to your site. Amanda Kennedy shares an awesome trick on how you can add a Facebook Invite Friends feature to Blogger.

Step 1:

Create a short URL using bit.ly for your blog. Take note of this URL because you will need this to make an app on Facebook.

Step 2:

Visit the Apps page on Facebook Developers to create a Facebook Application, and you will need an appID to use in your code.

Fill in the required fields. Then click “Select how your app integrates with Facebook” and fill in the next fields.

You can also add a thumbnail for your app. Take note of your AppID (shown at the top of the page) because you will need it for the code that you will paste on your Blogger site.

Step 3:

Go to Blogger Dashboard > Layout > HTML/JavaScript

Copy and paste the following code below. Replace the highlighted values with your own.

 

<script src="http://connect.facebook.net/en_US/all.js"></script>
 <script>
 FB.init({
 appId:'your-app-id',
 cookie:true,
 status:true,
 xfbml:true
 });
 function FacebookInviteFriends()
 {
 FB.ui({
 method: 'apprequests',
 message: 'Your Message Here'
 });
 }
 </script>
 <div id="fb-root"></div>
 <span><a href='#' onclick="FacebookInviteFriends();">
 Invite friends link text
 </a></span>
 <script type='text/javascript'>
 if (top.location!= self.location)
 {
 top.location = self.location
 }
 </script>

Step 4:

 

Save.

You can check out the full TUTORIAL with live demo.

 

Liked It ? Please Share

Comments

10 Responses | Post A Comment | Subscribe To Comments RSS Feed

  1. Mark says:

    I love your blog. Great work! Check my collection of God Inspired Lyrics

  2. Thank you for the good writeup. It if truth be told used to be a entertainment account it.
    Glance complex to far added agreeable from you!
    However, how can we be in contact?

  3. Hello there! This is kind of off topic but I need some guidance
    from an established blog. Is it very hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty fast. I’m thinking about making my
    own but I’m not sure where to start. Do you have any ideas or suggestions? Many thanks

  4. Oyunu says:

    For newest news you have to visit web and on world-wide-web I found this website as
    a best web site for most recent updates.

  5. This is the perfect web site for anybody who wants to
    find out about this topic. You know a whole lot its almost tough to argue with you (not that I really will need to…HaHa).
    You certainly put a new spin on a subject which has been written about for a
    long time. Excellent stuff, just excellent!

  6. Samuel says:

    Definitely believe that which you stated. Your favorite reason seemed to
    be on the internet the easiest thing to be aware of. I say to you, I certainly get annoyed while
    people consider worries that they plainly do not know
    about. You managed to hit the nail upon the top and also defined out the whole thing without having
    side effect , people can take a signal. Will probably
    be back to get more. Thanks

  7. Attractive component to content. I just stumbled upon your blog and in accession
    capital to say that I acquire in fact loved account your
    weblog posts. Anyway I will be subscribing in your feeds and even I achievement you get admission to persistently
    quickly.

  8. Hey there! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up losing several
    weeks of hard work due to no back up. Do you have
    any methods to protect against hackers?

    My web site … projektowanie stron warszawa

  9. Wonderful goods from you, man. I have understand your stuff previous to and you’re just too great. I actually like what you have acquired here, really like what you’re
    saying and the way in which you say it. You make it enjoyable and you still
    care for to keep it wise. I cant wait to read far more from you.
    This is really a tremendous website.

  10. stanik says:

    Hello, i think that i saw you visited my web site
    so i came to “return the favor”.I am trying to find things to enhance my
    site!I suppose its ok to use some of your ideas!!

Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here