How to Invite All Friends to An event On Facebook

How to Invite All Friends to An event On Facebook - Facebook buddy invites are useful to invite your close friends ahead to an event or to such as a Facebook web page. However invites via Facebook can end up being a lengthy task, particularly if you need to invite 1500 buddies.

Invite All Friends Facebook Event

We will certainly explain it step by step. Keep in mind to make sure you are making use of Firefox, as it sustains JavaScript functions.

How to Invite All Friends to An event On Facebook


Facebook Event Invite Code
Code to invite all pals to a Facebook event simultaneously. Once again, make use of Google Chrome to accomplish this.

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

Invite All Friends Facebook Event

3. Scroll to the really bottom of that checklist that simply popped up.
4. Kind "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 couple of seconds and afterwards struck Send out Invites. All your Facebook pals 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 worked, however if somehow it does not for you, simply let me know, I'll update the manuscript. And you can only invite as much as 500 individuals each day to an occasion.

Code Explanation
Given that I am a Computer system Scientist, I might too briefly describe what the script does so you recognize that it is not an infection, but a basic hack.

Here's what the Facebook invite all to like script does:

This line look for the aspect called "_ 42ft ..." which takes place to be the invite box and also lots 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 button:

{ inputs[i].click();