Code to Invite All Friends On Facebook event - Quick and Easy

Code To Invite All Friends On Facebook Event - Ever before questioned how you can invite all your close friends to like a web page on Facebook? Suppose you're organizing a huge Project X and wish to welcome every person you understand to your Facebook event?
how to invite all friends to a facebook event

Code To Invite All Friends On Facebook Event

Code To Invite All Friends On Facebook Event


Facebook Event Invite Code
Code to invite all good friends to a Facebook occasion at the same time. Once more, utilize 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 lower of that listing that just appeared.
4. Kind "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 afterwards hit Send out Invites. All your Facebook pals are invited to your event.

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

Note: I attempted this and also it functioned, however if for one reason or another it doesn't for you, just let me recognize, I'll update the manuscript. And also you can only invite up to 500 individuals daily to an occasion.

Code Explanation
Since I am a Computer Scientist, I could also briefly describe what the script does so you recognize that it is not a virus, but a straightforward hack.

Here's what the Facebook invite all to such as script does:

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

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

This loops for all your buddies:

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

Click on their particular invite button:

{ inputs[i].click();