How to Select All Friends On Facebook event
By
Ega Wahyudi
—
Wednesday, May 20, 2020
—
Invite All Friends Facebook Event
We will describe it step by step. Bear in mind to make certain you are making use of Firefox, as it sustains JavaScript functions.
How To Select All Friends On Facebook Event
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 on "Share" > "Invite friends".
3. Scroll down to the extremely bottom of that listing that just appeared.
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 seconds and after that struck Send Invites. All your Facebook close friends 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 tried this and it functioned, however if somehow it doesn't for you, simply let me recognize, I'll update the manuscript. As well as you can only invite up to 500 individuals daily to an occasion.
Code Explanation
Given that I am a Computer Scientist, I may also briefly discuss what the script does so you know that it is not a virus, but an easy hack.
Right here's what the Facebook invite all to such as manuscript does:
This line searches for the component called "_ 42ft ..." which takes place 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 good friends:
for(var i=0;i<inputs.length;i++)
Click their corresponding invite switch:
{ inputs[i].click();