How to Invite All Friends to An event On Facebook 2019
By
Ega Wahyudi
—
Wednesday, January 22, 2020
—
Invite All Friends Facebook Event
We will certainly explain it step by step. Keep in mind to make certain you are utilizing Firefox, as it sustains JavaScript functions.
How To Invite All Friends To An Event On Facebook
Facebook Event Invite Code
Code to invite all close friends to a Facebook event at once. Again, make use of Google Chrome to attain this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll down to the very lower of that checklist that just popped up.
4. Kind "javascript:" right into the address bar. (Notice the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code listed below right after "javascript:".
6. Wait a couple of seconds and then hit Send out 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 attempted this and it functioned, however if for some reason it doesn't for you, simply let me understand, I'll update the manuscript. And you can only invite up to 500 people each day to an event.
Code Explanation
Because I am a Computer Scientist, I might too briefly explain what the manuscript does so you understand that it is not an infection, however a simple hack.
Here's what the Facebook invite all to like script does:
This line searches for the component called "_ 42ft ..." which occurs to be the invite box as well as tons it to the inputs variable.
var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');
This loops for all your friends:
for(var i=0;i<inputs.length;i++)
Click on their corresponding invite button:
{ inputs[i].click();