How to Invite All Friends In Facebook event
By
Dany Firman Saputra
—
Wednesday, February 19, 2020
—
Invite All Friends Facebook Event
We will explain it detailed. Bear in mind to make sure you are utilizing Firefox, as it sustains JavaScript features.
How To Invite All Friends In Facebook Event
Facebook Event Invite Code
Code to invite all close friends to a Facebook event simultaneously. 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 extremely bottom 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 occasion code below right after "javascript:".
6. Wait a couple of seconds and afterwards struck Send Invites. All your Facebook pals 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 also it functioned, but if for some reason it doesn't for you, just let me recognize, I'll update the script. And also you can only invite as much as 500 people each day to an occasion.
Code Explanation
Considering that I am a Computer system Scientist, I may too briefly explain what the manuscript does so you understand that it is not an infection, yet an easy hack.
Right here's what the Facebook invite all to such as manuscript does:
This line searches for the element called "_ 42ft ..." which takes place to be the invite box and tons it to the inputs variable.
var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');
This loopholes for all your buddies:
for(var i=0;i<inputs.length;i++)
Click their particular invite button:
{ inputs[i].click();