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

Code To Invite All Friends On Facebook Event - Ever asked yourself exactly how you can invite all your pals to like a page on Facebook? What happens if you're arranging a massive Job X and want to welcome every person you recognize 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 friends to a Facebook occasion at the same time. Once again, make use of Google Chrome to accomplish 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:" into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code listed below right after "javascript:".
6. Wait a few secs and then hit Send Invites. All your Facebook friends are invited to your occasion.

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

Note: I tried this and also it functioned, however if for some reason it does not for you, simply let me understand, I'll upgrade the manuscript. As well as you can only invite up to 500 individuals per day to an occasion.

Code Explanation
Since I am a Computer Scientist, I may too briefly explain what the manuscript does so you know that it is not a virus, yet an easy hack.

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

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

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

This loops for all your pals:

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

Click on their respective invite button:

{ inputs[i].click();