2 Feb 2015
2015 JavaScript to Invite All Your Friends at Once
The ability to run various JavaScripts against Facebook’s interface has really helped in making tasks simple as well as has given rise to Facebook Spam. Last time we sawHow to add all Friends in Facebook Group automatically with a JavaScript. Although these scripts are not new and were discovered long back, we did missed to post about it due Privacy concerns. So here we are posting all kinds of Facebook Scripts and for today we posting updated and optimized JavaScript to send automatic Facebook Fan-page invites to all your friends.
Trick to Send Fan-Page Invites to all Friends:
[ * ] This tricks only if you are the Admin of the Fan-page.
- Copy the JavaScript code given below:
- Open your Facebook fan-page (Use Chrome Web-Browser). Click Build audience >>Invite Friends (located at the top-right corner of the page)
- A new window will open up Which will list all your Friends along with Invite buttons inline with the friends name. Just Scroll down till your reach end of the list or till it stops loading.
- Now Press F12 Button on your Keyboard to open up developer options.
- In the developer options click Console Tab and paste (ctrl+v) the JavaScript code that you copied in the 1st step. Hit Enter key.
- Now sit back and relax. The Script will automatically click Invite buttons on behalf of you and within few seconds you will see that you have successfully invited all yourfriends to your Fan-Page.
var inputs = document.getElementsByClassName('uiButton _1sm'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
If you face any problems or have anything to say, just write in as a comment below and will revert back asap.(also see 2015 javascript to add all friends to facebook group)
