How to Invite All Facebook Friends to Like Facebook Fan Page [100% working]

Here we show how to invite all Facebook friends to like Facebook fan page without getting any problem. Now a days everyone uses Facebook for different purposes, even famous brands also used Facebook to increase social engagement of their products. To improve the engagement between companies and users they build fan pages and promote their products. Straight to the point, if you have fan page and you want to invite your all Facebook friends to like that page then this article will be helpful for you.
invite facebook friends to like page

How to Invite All Facebook Friends to Like Facebook Fan Page:

1. First of all you need to open your Facebook fan page by logging into your account. If you don’t have fan page check it here how to create Facebook fan page.
2. Now click on “see all” on invite friends section to see all your Facebook friends in one place.
invite facebook friends to like page
3. Now scroll the mouse until you reach the last one on the dialogue box.
invite dialogue box on facebook
4. Here the trick begins, copy the below code to invite all Facebook friends at a time to like your fan page.
var inputs = document.getElementsByClassName('uiButton _1sm');
for(var i=0; i<inputs.length;i++) {

5. There are two ways to send requests one is from console and another one is from address bar. By using console method you can sent requests to small amount of people but if you have maximum number of friends then it shows an error in the console.
invite facebook friends through console
6. So if you have large amount of Facebook friends then use second method by paste the code in browser address bar(Don’t forgot to scroll mouse till the end).
7. Here we use JavaScript to invite all Facebook friends so we need to add JavaScript before the whole code like this
invite facebook friends through address bar
8. After entering the code just press enter and see the magic. Your invitation will be sent to all your Facebook friends.

That’s it by using this method you can invite all friends to like your Facebook fan page. This is a simple trick and everyone can easily invite their friends to like Facebook fan page.

If you have any doubts while using this method please leave a message below.


  1. Thanks Raman, to share it. I will try it Immediately but you wrote it like pro blogger!

  2. Thanks for Your Appreciation Ganesh Yadav.Keep Visiting Our Blog for More Good Articles.

  3. Wow! It would save a lot of time.... One question... Would this trick send invites to every friends by default even those who have already liked the page?

    1. No Preeti Kaur, it doesn't send invite to friends who already like your page.