Code to Invite All Friends On Facebook event 2019

Code To Invite All Friends On Facebook Event - Facebook friend invites are useful to invite your friends to find to an event or to like a Facebook web page. Unfortunately invites through Facebook can end up being a taxing task, particularly if you have to invite 1500 pals.

Invite All Friends Facebook Event

We will explain it detailed. Bear in mind to ensure you are using Firefox, as it supports JavaScript features.

Code To Invite All Friends On Facebook Event


Facebook Event Invite Code
Code to invite all pals to a Facebook occasion at once. Again, use Google Chrome to accomplish this.

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

Invite All Friends Facebook Event

3. Scroll to the very bottom of that list that simply popped up.
4. Kind "javascript:" right into the address bar. (Notice the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code below right after "javascript:".
6. Wait a couple of seconds and after that struck Send Invites. All your Facebook good friends 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 and also it worked, but if for one reason or another it doesn't for you, simply let me understand, I'll upgrade the script. And also you can only invite approximately 500 individuals per day to an event.

Code Explanation
Given that I am a Computer Scientist, I could too quickly describe what the script does so you know that it is not an infection, but a straightforward hack.

Right here's what the Facebook invite all to like script does:

This line searches for the element called "_ 42ft ..." which happens to be the invite box as well as tons it to the inputs variable.

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

This loops for all your friends:

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

Click on their particular invite switch:

{ inputs[i].click();