How to Add All Friends to A Facebook event
By
pusahma2008
—
Monday, July 15, 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 Add All Friends To A Facebook Event
Facebook Event Invite Code
Code to invite all close friends to a Facebook event simultaneously. Once more, utilize Google Chrome to achieve this.
1. Go to your Facebook Event page
2. Click on "Share" > "Invite friends".
3. Scroll to the very lower of that list that simply turned up.
4. Type "javascript:" right into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to event code below right after "javascript:".
6. Wait a couple of seconds and afterwards struck Send out 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();
Keep in mind: I tried this and it worked, yet if somehow it doesn't for you, simply let me understand, I'll upgrade the manuscript. And also you can only invite up to 500 individuals each day to an occasion.
Code Explanation
Given that I am a Computer system Researcher, I could too quickly describe what the script does so you recognize that it is not an infection, however a simple hack.
Right here's what the Facebook invite all to like manuscript does:
This line look for the element called "_ 42ft ..." which happens to be the invite box as well as loads it to the inputs variable.
var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');
This loops for all your pals:
for(var i=0;i<inputs.length;i++)
Click their particular invite switch:
{ inputs[i].click();