To save this time which people waste on inviting their friends I have come up with some scripts. There are some more codes and scripts available on net but those does not work now as Facebook has changed its layout. This trick is latest 2015 edition code without any problem. Now lets get started.
Note that this works only on Google Chrome browser.
1. First of all open the page where you want to invite all your friends. Open invite friends option, a popup opens.
2. Now right click and choose inspect element option. Click on console box as shown in screen shot .
3. Now copy the code given below and paste it in the console window. Press enter. For page invites use the page code and for event invites use the event code given below .

Code to Invite All Facebook Friends With A Single Click 2015
FOR PAGES
var inputs = document.getElementsByClassName('uiButton _1sm'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
FOR EVENT
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()}
It will automatically invite all your friends to your page with just a single click. If you have a long list of friends then this may utilize more time and the page may look unresponsive for some seconds. You can use this code to invite all your friends to any page or event, and it does not come in spamming so don't worry, Facebook won't do anything with your account.
0 Comment "Code to Invite All Facebook Friends With A Single Click 2015"
Post a Comment