Random Hacks Tricks

Code to Invite All Facebook Friends With A Single Click 2017

Written by Iftekhar Ahmed
Hi friends, I’m back with yet another Facebook trick. This trick is to invite all your Facebook friends to an event or to go like your page.


We know Facebook is the best way to promote any kind of event or any page,  we all create different  pages and events on Facebook but the problem we face is that we don’t get enough members or likes.  So we invite all our friends one by one,  but again this is not easy as inviting all your friends one by one will take a  large amount of time.

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 2014 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 press F12 on your keyboard.  Chrome console window opens.

 

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 2014

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()}

NOTE: When you copy the above code, our link will also be copied so make sure to remove the link before executing the code in the console window.

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.

Also Read: Code to Add All Friends to Facebook Group

Also Read: Post to All Facebook Groups By a Single Click

Wasn’t  that easy.  I hope you liked it and utilize it to max extent. Share this with your friends and others. MORE FACEBOOK TRICKS Leave a comment below if the code doesn’t work, we will change the script.

Get More Secret Guides & Offers

Get More Secret Guides & Offers

Subscribe now and start getting premium tricks and guides related. 

You have Successfully Subscribed!

About the author

Iftekhar Ahmed

Iftekhar Ahmed is the owner of iftiSEO.com and writes on various topics like Online Earning, SEO, Blogging etc. He has worked on many blogs and also works as an SEO Analyst.

2 Comments

Leave a Comment