How To Invite All Your Friends On Facebook To Your Facebook Pages With A Single Click

If you owned a Facebook Pages or if you just created one then you will surly like to and want to invite all your friends on Facebook to like that page of yours. But when we have too many friends on Facebook, it becomes irritating to select each one of them manually and at one point even our hand will also start paining by selecting so many people.

So to solve this problem we can make sure of a JavaScript code, simply follow these steps:

  1. Open your web browser
  2. Open, login to your account
  3. Open your Facebook Pages, in which you would like to invite your friends
  4. From top Admin Panel, at right side click on Build Audience drop-down and select Invite Friends…
  5. Facebook - Build Audience -- Invite Friends

  6. Then use the below code to select all your friends in one click
  7. var inputs = document.getElementsByTagName("input");
    for (var i=0; i < inputs.length; i++) {if (inputs[i].getAttribute('type') == 'checkbox') {inputs[i].click();}}

  8. Once all your friends got selected click on Submit button and your invitation will be sent to all your selected friends

Read this to know to use and execute that above JavaScript code in your web browser. Just make sure that once you scroll down till bottom of your invitation box so that all your friends get loaded for selection. And here is the bookmarklet version of the same in case if you have many pages in which you would like to invite all your friends.