How to Invite All Friends On Facebook to An event

How To Invite All Friends On Facebook To An Event - Facebook good friend invites serve to invite your good friends to find to an event or to like a Facebook web page. Regrettably invites with Facebook can come to be a taxing job, particularly if you need to invite 1500 friends.

Invite All Friends Facebook Event

We will certainly clarify it step by step. Bear in mind to make sure you are using Firefox, as it sustains JavaScript functions.

How To Invite All Friends On Facebook To An Event


Facebook Event Invite Code
Code to invite all friends to a Facebook occasion at the same time. Again, use Google Chrome to attain this.

1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".

Invite All Friends Facebook Event

3. Scroll down to the very bottom of that listing that simply appeared.
4. Type "javascript:" into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code below right after "javascript:".
6. Wait a couple of secs and afterwards struck Send Invites. All your Facebook pals are invited to your occasion.

var inputs = document.getElementsByClassName('_1pu2');for(var i=0;i<inputs.length;i++){ inputs[i].click();

Note: I attempted this as well as it worked, however if for one reason or another it doesn't for you, simply let me understand, I'll update the script. And also you can only invite up to 500 people each day to an occasion.

Code Explanation
Since I am a Computer Scientist, I may too briefly describe what the script does so you recognize that it is not a virus, however a simple hack.

Here's what the Facebook invite all to like manuscript does:

This line searches for the element called "_ 42ft ..." which occurs to be the invite box and lots it to the inputs variable.

var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');

This loopholes for all your pals:

for(var i=0;i<inputs.length;i++)

Click their respective invite switch:

{ inputs[i].click();