Easily Invite ALL Facebook Friends to a Group, Event or Fan Page

by Lon on March 8, 2010

Tired of clicking all those boxes when you’re trying to spread the word on your next event to all your friends on facebook?

Here’s a an easy loophole around that to select all in one shot.

  1. Go to your Facebook Event, Group or fan 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, copy and paste the javascript code below into your Web browser’s address
    javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
  4. Hit enter, it should immediately select all of your friends!

2012 Update:  Looks like some people have been trouble with the above method.

If so try this:

javascript:var x=document.getElementsByTagName(“input”);for(var i=0;i

Be the first to comment

Leave a Comment

Previous post:

Next post: