Update: Facebook has removed this feature. The ‘Suggest to Friends’ link is now only shows up to the Page Administrators.

Inviting others to join is the best way for promoting any Facebook fan page. Inviting all your friends to join a fan page is a tough job as you have to select each friend one by one, if you have a large group of friends it might take hours to select all, Facebook has no option for selection all the friends in a single click. But using a JavaScript you can do so very easily.

So here’s the procedure of how you can invite all your friends to join any fan page by auto selecting all of them in a single click.

1.) Goto any fan page you want to suggest to your friends, for example goto our fan page http://www.facebook.com/theitechblog

[Want a similar url for your fan page, then have a look at  How to set Vanity URL for Facebook Profile.]

2.) Click on “Become a Fan” button to join the fan page.


3.) Then click on “Suggest to Friends” on left side below the page logo


4.) Suggest to friends box will pop up with the list of your friends to invite


Normally you have to manually select each friend one by one. However we will use a script to select all the friends automatically.
[aads] 5.) Look at the URL at the address bar of your browser


Delete whatever is written and paste the following script there

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

It will be like:


6.) Hit Enter key on your keyboard, All your friends in the “Suggest to Friends” box will be selected, now hit the “Send invitation” button


Invitation will be sent to all you friends asking them to join the fan page. This completes the procedure.

If you found this article useful do join our Facebook fan page and invite all you friends to join it. It will hardly take a min, just follow the above steps. :)

Also see : How to get updates from more than 250 friends on Facebook.