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:
- Open your web browser
- Open Facebook.com, login to your account
- Open your Facebook Pages, in which you would like to invite your friends
- From top Admin Panel, at right side click on Build Audience drop-down and select Invite Friends…
- Then use the below code to select all your friends in one click
- Once all your friends got selected click on Submit button and your invitation will be sent to all your selected friends
var inputs = document.getElementsByTagName("input"); for (var i=0; i < inputs.length; i++) {if (inputs[i].getAttribute('type') == 'checkbox') {inputs[i].click();}}
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.