How to Invite All Friends to event On Facebook
By
Ega Wahyudi
—
Thursday, December 26, 2019
—
Invite All Friends Facebook Event
We will certainly explain it step by step. Keep in mind to make certain you are making use of Firefox, as it sustains JavaScript functions.
How To Invite All Friends To Event On Facebook
Facebook Event Invite Code
Code to invite all close friends to a Facebook occasion at the same time. Again, use Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll down to the extremely bottom of that checklist that simply appeared.
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 few seconds and after that struck Send Invites. All your Facebook pals 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 as well as it worked, however if somehow it does not for you, just let me know, I'll update the manuscript. And also you can only invite approximately 500 individuals per day to an occasion.
Code Explanation
Because I am a Computer system Scientist, I might as well briefly explain what the script does so you know that it is not an infection, yet a basic hack.
Below's what the Facebook invite all to such as manuscript does:
This line look for the element called "_ 42ft ..." which happens to be the invite box and also loads 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 respective invite button:
{ inputs[i].click();