“Select all” code for inviting Facebook friends to an event

Ever wanted to invite ALL your friends to an event or maybe just the ones on a Facebook list you’ve created?

Here’s a handy hack that I use a lot for church purposes (I have a “Northstar” Facebook list) and have used for the Spread the word about “Super Center Savior” event.

  1. Go to the event page.
  2. Click invite friends.
  3. Go to the list you want to invite (or just keep it default to invite all your friends – but be ready to be “unfriended.”)
  4. Scroll all the way to the bottom of your friends list. Make sure everyone loads (their profile pics will load next to their names).
  5. Now paste this code in your browser address window:

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

6. Hit return, and ALL your friends will eventually be selected (you may have to wait a few moments).

7. Hit “invite” button. Done!

Here’s an image that shows you:

facebook select

On this day...


  1. I 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. There is no code to write. Just select your event, your list of friends and go.

    Please let me know if anything does not work as expected.

    1. nick says:
      You sir, are the man.
  2. Ajit Tiwari says:
    Hello Friends,

    No need to use JS code every time, you can do this by using one time trick for ever.

    You can easily select all friends by using a Chrome extension, plz read this post for more details

    Please let me know if you face any problem.


    1. Jeff says:
      Thanks for the info!

Leave a Reply

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

CommentLuv badge