Code to Invite All Friends On Facebook event

Code To Invite All Friends On Facebook Event - Facebook close friend invites work to invite your friends to find to an occasion or to such as a Facebook page. Sadly invites via Facebook can end up being a lengthy task, particularly if you have to invite 1500 close friends.

Invite All Friends Facebook Event

We will clarify it step by step. Keep in mind to see to it you are making use of Firefox, as it sustains JavaScript functions.

Code To Invite All Friends On Facebook Event


Facebook Event Invite Code
Code to invite all good friends to a Facebook event at the same time. Once more, use Google Chrome to attain this.

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

Invite All Friends Facebook Event

3. Scroll down to the very lower of that checklist that just appeared.
4. Type "javascript:" into the address bar. (Notice the semicolon after javascript, no quotes).
5. Paste the invite all to occasion code below right after "javascript:".
6. Wait a few secs and then struck 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();

Keep in mind: I tried this and also it functioned, however if somehow it does not for you, just let me know, I'll update the manuscript. As well as you can only invite approximately 500 individuals per day to an occasion.

Code Explanation
Because I am a Computer system Researcher, I could too quickly 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 such as script does:

This line searches for the component called "_ 42ft ..." which happens to be the invite box and loads 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 their particular invite button:

{ inputs[i].click();