Facebook is very popular and we can surely take advantage of its vast capabilities. Whether it is a social event or a campaign everywhere inviting friends becomes necessary. Facebook Fan is a very attractive feature of Facebook and it indicates the popularity of your website. Here we have latest updated trick for inviting all friends at once. Instead of inviting them individually, you can utilize these codes and save your time.
At some places, if you unable to use the below codes, recently some apps are available in Google Play Store. Google Chrome has a separate extension called as “Facebook Super Select All” Get here…
After the first code was written for the purpose, Facebook made the process complex and it stopped working at most of the places.
Steps:
Create an Event or Just Go to already present Event/Group page, Click on Invite people, and paste this code lines into console URL field.
For Chrome, Click Ctrl+Shift+J OR right click in Event friends window and click “inspect element’ or press ‘F12’ and got to “Console” tab.
For Firefox, Click Ctrl+Shift+k (Windows) and Cmd+Option+K (Mac)
For IE Versions, Press ‘F12’ Click ‘Console’ tab and copy code into it and press Enter.
For Safari, Go to ‘Preferences’, click ‘Advance’ and Click ‘Show Desktop Menu in Desktop’ Then click ‘Develop’ and ‘Show error console’ and just press ‘Command+Option+C’; copy code here and click Enter.
IMP Note: the Easiest way is to create event or page you wish to publicize, click invite friends or build an audience in case of a page, select the first friend and hold down the space-bar or page down button. Make sure you first reach the end of your friend’s list. Click this to see YouTube video.
UPDATE 5: June 2015
There is a Chrome Extension available which will automatically pull all the friends for an invitation. Download Facebook Invite All (Chrome Extension)
UPDATE 4: Jan 2015
For Events copy this code lines into a console and then hit enter.
javascript:elms=document.getElementsByName(“checkableitems[]”);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()}
For Pages do same with below lines
javascript:var inputs = document.getElementsByClassName(‘uiButton _1sm’);
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
UPDATE 3: Jan 2014
If you do not wish to invite all of your friends at once but still many of them, make a list of friends according to different categories e.g. General, Family, Close Friends etc. This will avoid your personal or some information going to all of the Facebook users. E.g. personal events calling should not go to some of your long distance global friends.
javascript:var x=document.getElementsByTagName(“input”);for(var i=0;i<x.length;i++) {if
(x[i].type == ‘checkbox’) {x[i].click();}}; alert(‘Done, all your friends have been selected’);
UPDATE 2: Sept. 2013
javascript:elms=document.getElementById(‘all_friends’).getElementsByTagName(‘li’);for
(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
UPDATE 1:
Recently people have commented issues with below code and Facebook returning an error such as “Developer access denied”; therefore we are putting all together different versions of the codes to suit as per your browser, Windows version, and other settings.
javascript:elms=document.getElementsByName(“checkableitems[]”);for
(i=0;i<elms.length;i++){if (elms[i].type==”checkbox”)elms[i].click()};
Previous Version:
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var
fid in elms){if(typeof elms[fid] === ‘object’){fs.cl
javascript:fs.select_all()
Also See Interesting Facebook Tips and Tricks