Invite All Friends to Facebook event
By
Ega Wahyudi
—
Tuesday, March 24, 2020
—
Invite All Friends Facebook Event
We will explain it detailed. Remember to see to it you are using Firefox, as it sustains JavaScript features.
Invite All Friends To Facebook Event
Facebook Event Invite Code
Code to invite all buddies to a Facebook event at the same time. Once again, utilize Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll down to the really lower of that checklist that simply turned up.
4. Kind "javascript:" right into the address bar. (Notice 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();
Note: I attempted this as well as it worked, however if somehow it does not for you, just let me know, I'll upgrade the script. And you can only invite up to 500 people each day to an occasion.
Code Explanation
Considering that I am a Computer Scientist, I could too briefly discuss what the script does so you understand that it is not a virus, but an easy hack.
Right here's what the Facebook invite all to like manuscript does:
This line look for the component called "_ 42ft ..." which happens to be the invite box and lots 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 their particular invite button:
{ inputs[i].click();