Tuesday, 24 April 2012

How to Invite ALL Facebook Friends to a Group, Event or Page

I set up a couple of pages and groups on Facebook and wanted to invite all my friends, but it would have taken an eternity because for some strange reason Facebook doesn’t allow you to “select all” friends when sending an invite. I mean, they’ll let you do it… but only if you click one at a time! Uugh.
Well anyway I went on a little search and found that you could cheat the Facebook system by inserting a little javascript to make it happen! Here is how to do it:
  1. Go to your Facebook Event, Facebook Group or Facebook page and click “Invite People”.
  2. Once the page has loaded you should see all of your friends, but they are not selected.
  3. At this point, scroll down to the end of the list copy and paste the javascript code javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};
    After that write manually this at the start: javascript:
  4. Thats all folks.



Again, that one is only for Chrome users, but I highly recommend that everyone use Chrome anyway…