Invite all friends on Facebook to event or Page

sponsored

Selecting and Inviting all friends in Facebook for an event is a tedious task for every user. If a person have more than 1,000 friends then this task will take very long time and it is really boring process.

sponsored

If there is a single button of select all and send Invite then that will be a great feature for facebook events. In the same way just recommend a page to all friends also take the same time.

Here is a simple trick to do this on facebook. For this we are relaying on a small javascript trick. It will select all the friends and send invites.

If you have a long list then the computer will consume more ram and processing power.

facebook-tip
Invite all friends on a page or event

Requirements: A good computer with more than 2GB Ram. Firefox, Chrome Browser.

Instructions to do this:

1. Go to page/event from which the invite send to.
2. Click Invite Friends.
2. In the dropdown next to the search box, click Search All Friends.
3. Scroll down until names stop loading (click the first name and then hold down the spacebar or Page Down button)

Now the javascript Trick
EVENTS Copy this code:

javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()}

PAGES Copy this code:

javascript:var inputs = document.getElementsByClassName('uiButton _1sm'); 
 for(var i=0; i<inputs.length;i++) { 
 inputs[i].click(); 
 }

 

Now run the javascript on your browser
For Chrome:
1. Press (CTRL+Shift+J) for WINDOWS or (Command+ Option+J) for MAC on your keyboard.
2. Paste the code into the box at the bottom and press enter (next to the blue “>”)
3. For large friends list, this may utilize all your resources and will cause the page to freeze and be unresponsive. Just wait a few minutes until all the names get selected.

For Firefox:
1. Press (CTRL+Shift+K) for WINDOWS or (Command+Option+K) for MAC on your keyboard
2. Paste the code into the box at the bottom and press enter (next to the blue “>>”).
3. For large friends list, this may utilize all your resources and will cause the page to freeze and be unresponsive. Just wait a few minutes until all the names get selected.

For Safari:
1. Go to Preferences – Advanced – check “Show Develop menu in menu bar” and close the preferences window.
2. Go to Develop – Show Error Console (or Command + Option + C)
3. Paste the code into the box at the bottom and press enter (next to the blue “>”).

For Internet Explorer:
1. Press F12 on your keyboard
2. Click the “Console” tab
3. Paste the code into the box at the bottom and press enter.
4. For large friends list, this may utilize all your resources and will cause the page to freeze and be unresponsive. Just wait a few minutes until all the names get selected.

After this the invite sending animations appear. When finishes this you can see all the friends Invite Sent

Warning: If you do this too often, Facebook WILL temporarily ban you from sending invites.
Video
This very small trick make life easier.

sponsored

Leave a Reply