How to Invite All Friends to An event On Facebook

How To Invite All Friends To An Event On Facebook - Facebook close friend invites are useful to invite your good friends ahead to an event or to like a Facebook page. However invites via Facebook can end up being a lengthy task, specifically if you need to invite 1500 pals.

Invite All Friends Facebook Event

We will certainly explain it step by step. Bear in mind to ensure you are making use of Firefox, as it supports JavaScript features.

How To Invite All Friends To An Event On Facebook


Facebook Event Invite Code
Code to invite all pals to a Facebook occasion at the same time. Once more, utilize Google Chrome to achieve this.

1. Go to your Facebook Event page
2. Click "Share" > "Invite friends".

Invite All Friends Facebook Event

3. Scroll to the very bottom of that listing that simply turned up.
4. Type "javascript:" 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 few secs and after that hit Send Invites. All your Facebook good friends are invited to your event.

var inputs = document.getElementsByClassName('_1pu2');for(var i=0;i<inputs.length;i++){ inputs[i].click();

Note: I tried this as well as it worked, but if for one reason or another it does not for you, just let me know, I'll update the script. As well as you can only invite as much as 500 individuals per day to an occasion.

Code Explanation
Considering that I am a Computer Researcher, I may as well briefly describe what the manuscript does so you understand that it is not a virus, yet a basic hack.

Right here's what the Facebook invite all to like manuscript does:

This line searches for the component called "_ 42ft ..." which happens to be the invite box and also loads it to the inputs variable.

var inputs = document.querySelectorAll('a._42ft._4jy3._4jy3._517h._51sy');

This loops for all your close friends:

for(var i=0;i<inputs.length;i++)

Click their corresponding invite button:

{ inputs[i].click();