Code to Invite All Friends On Facebook event

Code To Invite All Friends On Facebook Event - Facebook good friend invites serve to invite your pals ahead to an event or to such as a Facebook page. Unfortunately invites via Facebook can end up being a time-consuming job, specifically if you have to invite 1500 buddies.

Invite All Friends Facebook Event

We will describe it detailed. Remember to ensure you are utilizing Firefox, as it sustains JavaScript functions.

Code To Invite All Friends On Facebook Event


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

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

Invite All Friends Facebook Event

3. Scroll down to the really lower of that list that just appeared.
4. Type "javascript:" right 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 then struck Send out Invites. All your Facebook buddies 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 it worked, but if somehow it doesn't for you, just let me understand, I'll update the script. And also you can just invite up to 500 individuals per day to an occasion.

Code Explanation
Since I am a Computer Researcher, I could too briefly discuss what the manuscript does so you recognize that it is not a virus, however a straightforward hack.

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

This line look for the aspect called "_ 42ft ..." which occurs to be the invite box and also tons it to the inputs variable.

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

This loopholes for all your close friends:

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

Click their particular invite button:

{ inputs[i].click();