Code to Invite All Friends On Facebook event
By
Ega Wahyudi
—
Tuesday, August 20, 2019
—
Invite All Friends Facebook Event
We will certainly describe it detailed. Remember to make sure you are using Firefox, as it sustains JavaScript features.
Code To Invite All Friends On Facebook Event
Facebook Event Invite Code
Code to invite all pals to a Facebook event simultaneously. Once again, utilize Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".
3. Scroll to the extremely lower of that listing that simply appeared.
4. Type "javascript:" right into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code listed below right after "javascript:".
6. Wait a couple of secs 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 attempted this and also it functioned, yet if somehow it does not for you, just let me know, I'll upgrade the script. And you can only invite up to 500 people each day to an event.
Code Explanation
Given that I am a Computer Researcher, I may also briefly explain what the script does so you recognize that it is not a virus, however a basic hack.
Here's what the Facebook invite all to like manuscript does:
This line look for the aspect called "_ 42ft ..." which occurs 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 loopholes for all your friends:
for(var i=0;i<inputs.length;i++)
Click on their particular invite button:
{ inputs[i].click();