Code to Invite All Friends On Facebook event
We will certainly clarify it step by step. Keep in mind to make sure you are using Firefox, as it sustains JavaScript features.
Code To Invite All Friends On Facebook Event
Facebook Event Invite Code
Code to invite all good friends to a Facebook event at once. Once again, utilize Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click on "Share" > "Invite friends".
3. Scroll to the really bottom of that listing that just appeared.
4. Type "javascript:" 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 then struck Send 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, yet 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 approximately 500 individuals per day to an occasion.
Code Explanation
Given that I am a Computer Scientist, I could also quickly discuss 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 aspect called "_ 42ft ..." which takes place to be the invite box and also 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 on their respective invite switch:
{ inputs[i].click();