Do you own a Facebook page? I surely own a number of them, including our official TheTechIris Facebook Page. You must’ve seen the “Invite Friends” option on your Facebook pages which lets you select your friends and send them invitations to like your page. Well, it’s not much of a problem if you have a few friends, say 50-100. But in case you are too social on Facebook, then you might have well over 500 friends, at minimum.
In such a situation, it becomes difficult, and moreover, time consuming for you to select all of your friends one by one. Here, I have developed a simple JavaScript script for you, which will select all of your Facebook friends in a single go and invite them instantaneously. Just follow these steps:
NOTE: We recommend you to use this script on Google Chrome only, since we haven’t tested it on other browsers.
# Make sure you’ve created your desired Facebook page and you are the Administrator of that particular page. Log in to your Facebook account and navigate to your Facebook Page. On the right-sidebar, click on the Invite Friends option.
# Once you click on the Invite Friends option, you will see a pop-up where you will be shown Friends with recent interactions. Change it to Search All Friends and wait for Facebook to load all of your friends. It shouldn’t take more than 10-15 seconds.
# Now, in the your browser’s address bar, paste the script given below. Once you copy and paste the script in the address bar, you will need to place the word “javascript:” without quotes, in front of the script to make it work, otherwise the browser will consider it as any other search query. Here’s the script:
javascript:elms=document.getElementsByName(“checkableitems[]”);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()};
# Make sure you place “javascript:” without quotes, in front of the script when you place it in the address bar. Now hit Enter and wait for 3-5 seconds. That’s it! By now, all of your friends would have been selected in a go. You may hit the Submit button now to send recommendations to your friends.
This is the easiest trick known to us to select all Facebook friends in a go. Let us know your views via the comments section below.
Leave a Reply