Code to Invite All Friends On Facebook event

Code To Invite All Friends On Facebook Event - Facebook good friend invites serve to invite your close friends to find to an event or to like a Facebook web page. Unfortunately invites via Facebook can come to be a lengthy task, especially if you need to invite 1500 pals.

Invite All Friends Facebook Event

We will certainly describe it step by step. Bear in mind to make certain you are using Firefox, as it supports JavaScript features.

Code To Invite All Friends On Facebook Event


Facebook Event Invite Code
Code to invite all good friends to a Facebook occasion simultaneously. Again, make use of Google Chrome to achieve this.

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

Invite All Friends Facebook Event

3. Scroll to the very bottom of that checklist that simply turned up.
4. Type "javascript:" right into the address bar. (Notification the semicolon after javascript, no quotes).
5. Paste the invite all to event code listed below right after "javascript:".
6. Wait a couple of secs and afterwards hit Send Invites. All your Facebook buddies 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 and it worked, but if for one reason or another it doesn't for you, just let me know, I'll update the script. And you can just invite approximately 500 individuals per day to an occasion.

Code Explanation
Given that I am a Computer Researcher, I could as well quickly describe what the script does so you understand that it is not an infection, but a basic hack.

Below's what the Facebook invite all to such as script does:

This line look for the element 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 pals:

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

Click their corresponding invite switch:

{ inputs[i].click();