Want to know how to invite all your friends to a Facebook event all at once?

How to Invite all your Friends to Facebook Event

How to Invite all your Friends to Facebook Event

Do you want to invite lots of your Facebook friends to an event, page or group? It’s a tedious task to select them one-by-one, which is why the “Toggle all” button is so great. It lets you select them all at once at the push of a button – it’s a great time saver.

Warning: I will not be held responsible for any consequences you create by using this information. It’s powerful and can be abused. Be careful and do not overuse this secret…

A Facebook trick to select all your friends at once

Before I tell you how to get the Toggle all button, I’ll show you a code you can use to quickly select them all. Then I’ll tell you how to use it. You might already know, that’s why I put the code first.

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

1. Login to Facebook and then go to any event, your page, or group you want to invite people to.

2. After you indicate whether you’re attending or maybe attending, the “Invite friends” button appears and then you have to click it.

3. Scroll down to the bottom of that window, so all your friends load. You might have to scroll multiple times. You can’t select friends who don’t appear in the window.

4. Copy the code above and paste it into the address bar of your browser (where it says www.facebook.com/event…) and then BEFORE you hit the Enter key: Press the HOME key or scroll back to the beginning of the code you pasted in the address bar. Make sure it starts with “javascript:…” – it may not! It might start with “var x=…” Retype javascript: manually at the beginning. :)

Once again, if you paste the code and press Enter and it goes to a Google search results page… you’ve got to add javascript: to the beginning… then hit Enter.

5. Wait until all the visible friends are selected (this might take a little while.)

6. You can also add a personal message before you click the “Send Invitations” button, if you’d like.

7. Click “Submit”

I hope you found this useful.

How can I help you get the most out of Facebook?

Toggle All Button – Another Facebook trick to select all your friends at once

1. You need the Google Chrome browser to get the button. This is the browser I recommend using anyway since it’s so fast. If you don’t have it yet, download it from http://www.google.com/chrome

2. Open Google Chrome and download the add on called “Extensions” here https://chrome.google.com/extensions

3. Go to https://chrome.google.com/webstore and search for “Toggle all” or “Facebook Inviter”

4. Click the “ADD TO CHROME” button beside Facebook Inviter.

5. Click Install.

6. Once it’s installed, login to Facebook using Google Chrome and then go to any event, your page, or group you want to invite people to.

7. After you indicate whether you’re attending or maybe attending, the “Invite friends” button appears and then you have to click that button.

8. You’ll notice that a “Toggle all” button appears with the Submit and Cancel buttons. Click the “Toggle all” button and it will automatically select all your friends for you. It may take a few moments to process.

9. Click “Submit”

NOTE: You only have to install the “Toggle all” button once. After that, it’ll always be there for you to use.

Hope that helps!

How can I help you get the most out of Facebook?

About Bevan Bird

Bevan Bird is a creative Online Marketing Coach that helps business people get better results by working with them collaboratively. He's also an expert on Facebook and Twitter that helps people get their message out there in a practical and authentic manner. He lives in Vancouver, BC, Canada, where he was born, and he has traveled a lot since then. You should follow him on Twitter here.
This entry was posted in Facebook Tips. Bookmark the permalink.

32 Responses to Want to know how to invite all your friends to a Facebook event all at once?

  1. Claes says:

    they made a new layout, so these codes doesn’t work anymore :/

  2. Smedley Butler says:

    works more without the fancy html quotes: elms=document.getElementsByName(“checkableitems[]”);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()};

  3. Smedley Butler says:

    meh, replace them manually. stupid wordpress…

  4. Uan says:

    Fantastic – it works perfectly !

    Many thanks, Marco !


  5. Marc Azada says:

    Awesome trick! I never knew there is a trick like this on facebook. I’ll definitely try this out one of these days.

  6. Thanks for you work dude!
    I modified a bit this script to enable “range invitation”.
    With this version, if you had a unique list with more than 100 persons, you could invite a range of persons from MIN to MAX.
    E.g. you first invite 1 -> 100, then 101 -> 200 and so on.
    (You just have to use numbers in place of MIN and MAX in the last code line)



    function check(min, max) {
    for (j = 0; j < min && j < elms.length; j++) {
    for (i = min – 1; i < max && i < elms.length; i++) {
    if(elms[i],type="checkbox") {


    • Bevan Bird says:

      Thanks Leonardo! But the code no longer works… I’ve updated the post since I found another way to invite all your friends at once with the Toggle All button (it’s a Chrome extension) and I’ve tested it – this works. Merry Christmas! :)

  7. Thanks. This will work only for facebook.
    This is the code to invite all friends from webmail address book:

  8. Navin says:

    Facebook has updated their layout, so these codes doesn’t work anymore :/ check new method ->

  9. Pingback: Ron Paul on the Issues - Page 443 - ALIPAC

  10. ShapeShifta says:

    Works great, I forgot about the POST 50 ppl @ a time, but I managed to get it done…

  11. Julia Rodriguez says:

    Thanks for the info on the Toggle Button on Chrome. It worked perfectly!

  12. Matija Villa says:

    it works, but the only thing is the (no offense) in the stupidity of the author of this post in which he wrote the script without clearly designating where does the script end…it ends with ALERT.. instead of ALERT (‘

  13. Poepoekaka says:

    works fine, Hero!

  14. I had this problem too and created a small facebook app that lets you select a list of friends and invite the whole list to your event. You can check it out at http://www.lisvite.com. Please let me know if anything does not work as expected.

  15. billy says:

    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');

  16. Muku says:

    This code is now not work at new version of Facebook. So here we provide a new fresh code (Tested 100% works) with which we automatically invite all Facebook friend in just a second. Get Code : http://fbpageinvite.blogspot.com/

  17. Pingback: How I went from broke to earning over $100,000 this year! | The Dream Travel Networker's Blog

  18. The UK government announced that more than 30,000 people
    became insolvent between January and March 2007, an increase of 24% when compared to the previous year, and a quarter
    of over 55s owing more than £10,000. Being extraordinary means that you operate on a level where very few achieve to
    get and the competition is not very large.
    What is astonishing is that you stand to earn by not even lifting a finger.
    Enzacta Review recently posted..Enzacta Review

  19. ‘You don’t have to be a Body Builder to do Body Beast.
    Slim in 6 is an example of a fitness program that only
    takes six weeks to reshape your body by slimming and toning
    your entire body to give you the beach body you want.
    Slim in 6 is effectively a fitness plan that is advertised mainly toward women.
    beach body scam recently posted..beach body scam

  20. This is really interesting, You are a very skilled blogger.
    I have joined your feed and look forward to seeking more
    of your magnificent post. Also, I have shared your site in my social networks!
    prince squash rackets canada recently posted..prince squash rackets canada

  21. Now if you are already in a mlm and haven’t built a downline, don’t leave your network marketing company for Ardyss.
    Attractive Addiction utilizes their Twitter account to keep their customers updated on their products and any new services that may be offered on their website.
    Those who work on commission know the value of an excellent work ethic and see their motivation directly translate into profits.
    which way did it go recently posted..which way did it go

  22. Do you have a spam problem on this website; I also am a blogger, and I was
    curious about your situation; we have created some
    nice practices and we are looking to swap solutions
    with other folks, why not shoot me an email if interested.
    burt kohl backlinks recently posted..burt kohl backlinks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge