How Do You Invite All Friends to A Facebook event - Quick and Easy
By
Arif Rahman
—
Wednesday, February 10, 2021
—
Invite All Friends Facebook Event
how to invite all friends to a facebook event
How Do You Invite All Friends To A Facebook Event
Facebook Event Invite Code
Code to invite all good friends to a Facebook event at the same time. Once again, utilize Google Chrome to accomplish this.
1. Go to your Facebook Event page
2. Click on "Share" > "Invite friends".
3. Scroll down to the very lower of that list that just appeared.
4. Type "javascript:" 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 secs and after that struck Send out Invites. All your Facebook friends 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 it worked, but if somehow it doesn't for you, just let me know, I'll update the script. And also you can only invite up to 500 people each day to an event.
Code Explanation
Given that I am a Computer Scientist, I may too quickly discuss what the manuscript does so you recognize that it is not an infection, but a simple hack.
Right here's what the Facebook invite all to like manuscript does:
This line look for the aspect 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 buddies:
for(var i=0;i<inputs.length;i++)
Click on their particular invite switch:
{ inputs[i].click();