How to invite all your friends on Facebook

As you may very well know you can’t invite everyone on your friend list at once on facebook… So when you’ve created that group, event or page and want to invite all your friends to see it and join up you have to spend hours doing it one….by one….! It’s such a pain, and I hear your cries!

so i’ve done the research for you… turns out THERE IS A SOLUTION! and a very simple, quick and easy one at that.

All you need to do….in brief!… is copy this code (javascript) below and when you have clicked invite and the friend window appears; paste the code into the address bar making sure you delete anything that is in it before then press enter! and voila!

The javascript:

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

In depth….
So if you don’t know how to invite people for a start just click invite/suggest friends on whatever it is your wanted exposure for.

Group invitePages invite

Once you have clicked invite and the selection window is open, then proceed to clear your address bar of the address (i.e. and then copy the code above and paste it into the address bar…

Address bar

Then press return/enter! Then voila all your friends will be selected. So just click invite/suggest!

Done inviting


This can be hugely beneficial for if you run a website and want to get exposure and to market it on facebook which is the biggest social site on the web! It can help you gain more visitors etc etc…

It might be an idea to bookmark this page so you can use the code again!

Pretty Klicks

Credits: Original reference of code and knowledge,

Posted in Tips & Tricks | Tags: , , , , , | Leave a comment
By |
RSS Feed
Keep up to date with our latest posts.

Learn more about making the most of your website, marketing and seo. It takes two seconds to subscribe to our rss feed.
You can get in contact with us via phone or e-mail, we will get back to you very promptly.

+44 (0)131 344 4522

Join our mailing list to find out about our free giveaways and tutorials. It's free.

Copyright © 2005 - 2020 Pretty Klicks Ltd (