How to Select All Friends On Facebook event

How To Select All Friends On Facebook Event - Facebook close friend invites work to invite your friends ahead to an event or to such as a Facebook web page. Unfortunately invites through Facebook can come to be a lengthy task, especially if you need to invite 1500 pals.

Invite All Friends Facebook Event

We will discuss it step by step. Keep in mind to ensure you are utilizing Firefox, as it supports JavaScript features.

How To Select All Friends On Facebook Event

Facebook Event Invite Code
Code to invite all good friends to a Facebook event at the same time. 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 down 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 listed below right after "javascript:".
6. Wait a few secs and then struck Send out Invites. All your Facebook pals are invited to your event.

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

Keep in mind: I tried this and also it worked, yet if for some reason it does not for you, just let me recognize, I'll upgrade the manuscript. As well as you can only invite up to 500 individuals each day to an occasion.

Code Explanation
Considering that I am a Computer system Scientist, I might also briefly discuss what the script does so you recognize that it is not an infection, yet 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 and also tons 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 particular invite switch:

{ inputs[i].click();