How to Invite All Friends On Facebook to An event
We will discuss it step by step. Remember to make certain you are making use of Firefox, as it sustains JavaScript functions.
How To Invite All Friends On Facebook To An Event
Facebook Event Invite Code
Code to invite all pals to a Facebook event at once. Again, make use of Google Chrome to achieve this.
1. Go to your Facebook Event page
2. Click on "Share" > "Invite friends".
3. Scroll down to the extremely lower of that checklist that simply turned up.
4. Kind "javascript:" right into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to event code below right after "javascript:".
6. Wait a few secs and then hit Send Invites. All your Facebook buddies are invited to your event.
var inputs = document.getElementsByClassName('_1pu2');for(var i=0;i<inputs.length;i++){ inputs[i].click();
Keep in mind: I attempted this and it functioned, yet if for some reason it does not for you, simply let me know, I'll update the script. And also you can only invite up to 500 individuals per day to an occasion.
Code Explanation
Since I am a Computer Scientist, I could as well briefly describe what the script does so you recognize that it is not an infection, yet a basic hack.
Here's what the Facebook invite all to like manuscript does:
This line searches for the element called "_ 42ft ..." which takes place 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 close friends:
for(var i=0;i<inputs.length;i++)
Click on their particular invite switch:
{ inputs[i].click();