How to Invite All Facebook Friends to An event 2019
By
Ega Wahyudi
—
Sunday, August 11, 2019
—
Invite All Friends Facebook Event
We will describe it step by step. Remember to ensure you are making use of Firefox, as it sustains JavaScript features.
How To Invite All Facebook Friends To An Event
Facebook Event Invite Code
Code to invite all close friends to a Facebook event simultaneously. Again, make use of Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click on "Share" > "Invite friends".
3. Scroll to the very lower of that checklist that just appeared.
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 seconds and afterwards 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();
Note: I attempted this and also it worked, but if somehow it does not for you, just let me know, I'll update the script. And also you can only invite as much as 500 individuals each day to an event.
Code Explanation
Given that I am a Computer Scientist, I could too briefly discuss what the script does so you recognize that it is not an infection, but a simple hack.
Here's what the Facebook invite all to like manuscript does:
This line searches for the aspect called "_ 42ft ..." which happens to be the invite box and also tons it to the inputs variable.
var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');
This loopholes for all your close friends:
for(var i=0;i<inputs.length;i++)
Click on their corresponding invite switch:
{ inputs[i].click();