How to Invite All Friends to Facebook event - Quick and Easy
By
Anjih Najxu
—
Sunday, May 31, 2020
—
Invite All Friends Facebook Event
how to invite all friends to a facebook event
How To Invite All Friends To Facebook Event
Facebook Event Invite Code
Code to invite all buddies to a Facebook occasion simultaneously. Once more, make use of Google Chrome to attain this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll to the really bottom of that checklist that simply turned up.
4. Type "javascript:" right into the address bar. (Notice the semicolon after javascript, no quotes).
5. Paste the invite all to event code listed below right after "javascript:".
6. Wait a few secs and then struck Send Invites. All your Facebook buddies are invited to your occasion.
var inputs = document.getElementsByClassName('_1pu2');for(var i=0;i<inputs.length;i++){ inputs[i].click();
Keep in mind: I attempted this and it worked, yet if somehow it doesn't for you, just let me know, I'll update the script. And you can just invite as much as 500 individuals per day to an occasion.
Code Explanation
Given that I am a Computer Scientist, I might as well briefly discuss what the manuscript does so you understand that it is not a virus, but a basic hack.
Below's what the Facebook invite all to like script does:
This line searches for the element called "_ 42ft ..." which happens to be the invite box and also 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 corresponding invite button:
{ inputs[i].click();