The old way of doing this doesn’t seem to work anymore. So here is a new way that you can use. This was shared to me by Nasif and you can check out his post on his blog if you want.
This is really frustrating for not being able to suggest or invite a facebook group, fan page or application profile page to all your facebook contacts in one click. How do you feel to select 500 friends with 500 mouse click?
The javascript code from John P’s blog http://onemansblog.com/2009/08/30/how-to-invite-all-facebook-friends-to-a-group-event-or-page/ worked well when I used it a week back back but tomorrow I noticed that the trick is resting in peace !
I was very much frustrated when I saw the code not working anymore. I decided to resurrect the trick back to life and I am successful in doing that. But don’t know when this trick will get murder again by evil facebook ! :s
There are two ways you can do it.
1. By javascript code and a little bit of stupidity
Click “Suggest to friends” on application profile page or “Invite to friends” on group, fan page or events page.

Right click on any friend and click “open in new tab”
You will land on a page which will only show suggestion window
At this point, paste the following code on to the address bar where the suggestion window is displaying:
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
Or
javascript:fs.select_all();

And there’s an even easier way to select all friends.
2. By using chrome extension known as Facebook Invite All
A million thanks to dawagner who made this wonderful extension. After you have installed this extension you will notice a a new button “Toggle all” on the suggestion or invitation window.
If this post helped you out in anyway make sure to tweet it, share it and click the “like” button below and share the wealth.















September 8, 2010
12 Comments