Invite All Friends Facebook event
By
Ega Wahyudi
—
Sunday, March 8, 2020
—
Invite All Friends Facebook Event
We will certainly describe it detailed. Remember to ensure you are using Firefox, as it sustains JavaScript features.
Invite All Friends Facebook Event
Facebook Event Invite Code
Code to invite all buddies to a Facebook occasion at the same time. Again, make use of Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll down to the very lower of that listing that just turned up.
4. Type "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 couple of seconds and after that struck Send Invites. All your Facebook good 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 as well as it worked, but if somehow it does not for you, just let me recognize, I'll update the script. And you can just invite up to 500 individuals per day to an event.
Code Explanation
Considering that I am a Computer system Scientist, I may too quickly discuss what the manuscript does so you understand that it is not an infection, but a straightforward hack.
Here's what the Facebook invite all to like manuscript does:
This line searches for the element called "_ 42ft ..." which occurs to be the invite box and also 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 corresponding invite button:
{ inputs[i].click();