Secret Code to Invite All Your Friends to an Event

This method works for Facebook  only and with Google Chrome or Firefox 5.0 (not anything above 5) and allows you to invite ALL your friends at once to any Facebook event, group or page.

Note: This method doesn’t work with Firefox 6.0 and above. It’s very easy to install Google Chrome because it’s a very fast installation process.

Here’s how to invite all your friends on Facebook to an event or business page

1. Copy the fol­low­ing code by selecting it then pressing CTRL-C


javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done: please scroll and repeat until all your friends have been selected');


2. Go to the this event page for you to try this on.

3. Click on Join and then click Invite Friends

4. Scroll all the way down to the end of your friends list.  This may take a long time if you have a lot of friends.

5. Clear your address bar and paste the above code by pressing CTRL-V.  (What is the address bar? Some people aren’t sure which one is the address bar.  The address bar is where it contains the address of the web-site.  For example, the address bar for this web-site contains the following text: http://antranik.org/secret-code-to-invite-all-your-friends-on-fb/)

6. Important: After you paste the code, go to the front of it and type in “javascript:” (without the quotes) so it will look like this “javascript:var x=document.get……”  Then press Enter.

Be patient and all your friends will even­tu­ally get check marked! That should do it!

I hope that helps!  If you have any com­ments or ques­tions or if the code isn’t work­ing… let me know and I will try to update it!

Another way of selecting all users at once for Chrome users:

You may install this Chrome extension called Facebook Inviter which takes just seconds to install.  After you install it, go to your facebook fan page (or event), find the link on the right side that says “Invite Friends” and the window that pops up will now have an added option, “Toggle All.”


Click Toggle All and send all the suggestions in one go!

That’s all there is to it!

Thank you and I hope that was helpful!