How to Invite ALL Facebook Friends to a Group, Event or Page
I set up a couple of groups on Facebook – our Wealth Nation group (PLEASE JOIN!) and the Stop the Farmville Madness!!! group – 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:
- Go to your Facebook Event, Facebook Group or Facebook page and click “Invite People”.
- Once the page has loaded you should see all of your friends, but they are not selected.
- At this point, copy and paste the javascript code below into your Web browser’s address bar, then hit “Enter”.
- If all goes well, it selects all of your friends!
- IMPORTANT: NOW YOU MUST WAIT!!! If you have a lot of Facebook friends, you have to leave that window open for a long time so it sends all of the invitations! I have about 1,400 and it took like 15-20 minutes to send all of the invitations. The Invite window will close when its done. So exercise patience!!!!!!!!!!
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
If that first method doesn’t work for you give this a try:
Right click the “friend box” and open it in a new tab:
Then paste this==> javascript: fs.select_all()
Finally, there is now a GreaseMonkey script for Firefox to Invite All Facebook Friends if you want to try that as well..
Oh, and by the way, if you found this helpful please tweet it or share it on Facebook to help others find it too. The more people who share it, the more people it helps! It takes some time for all of the Facebook invites to be sent. They go into a queue. So if you saw them all get selected, just be patient. The messages WILL get delivered over the next 24 hours or so.
UPDATE
If none of that is working for you, Michael Quale developed a little Chrome plugin which I personally tested and it did the trick. You can get it on the Chrome browser store here. And here is a little video of it working.
Again, that one is only for Chrome users, but I highly recommend that everyone use Chrome anyway…
Subscribers get the step-by-step checklist with every tutorial. Free.


Where was your page a few weeks ago when I went through and manually clicked almost a thousand people just to get one message out? LOL. All and all, I appreciate your post and loving the site. I’m bookmarking this site because your blog is like handymans tool chest. Full of everything you need. Thanks John
“for some strange reason Facebook doesn’t allow you to “select all†friends when sending an invite”
They don’t allow you to do that to stop you from spamming everyone with your useless groups
How about the new design facebook group? lol
It works for me, thanks a lot~~ :D
I can save up a lot of energy by continuous pressing..
I totally worked …thanks so much… :)
It does work, open the suggest frds, right click it n “open frame in a new tab” so the suggest frds opens in a new tab, paste the code der… it works ;)
Right click the “friend box” and open it in a new tab…
Then paste this ==> javascript: fs.select_all()
It WORKS and it’s FAST!
Past it where? The address box? The add friends box? ???
Nope, it does not work. We need some programmers to go at it and just try their best finding the code.
It does not work now. They have probably disabled this option in order to prevent spam. So sad… But can someone please come up with a new code or some other way to do this?
The sort java script code worked great for me in google chrome. Just make sure you open your friend box up in a new window and then paste the code into it.
javascript: fs.select_all()
Thanks for all the help on this page! Have fun!
It was working! But now it doesn’t a new code please!
It worked great for me! Thank you so much!
God bless you! I had just taken about 45 mins to manually select all my friends and facebook ate my progress… I thought that someone had to have an answer… THANK YOU for preventing cardiac arrest… LOL
haha ! atlast , it worked !
Nice work Man, the scripts does’t work anymore but the Chrome extension it’s awesome!!!
I like your site, what I’ve read of it.
Thanks for answering my question…partially.
I have few friends, just starting out, and wanted ALL of Facebook to know of my group. Is there a way to do that, because I’ve already added my friends and they are adding theirs.
Many thanks for your help.
Hell yeah.. It doesn’t work!!!!!!!!!
Hey need a new code.. Please update it as soon as possible :((
my God , how can i invite all of my friend in New Fans Page @_@
Thanx Ron
ur way is correct its working
I think FAcebook has fixed this “problem” so that using this line to select all does not work
how can i follow the instruction for the facebook problems???
nevermind it works
the code doesnt work! Please find a new one? lol PLease!
For Google Chrome work just fine!!!
Like Like Like!
Για το Google Chrome δουλεÏει μια χαÏά!
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:fs.select_all();
And you’re done :)
That works GREAT!
THANKSS
That worked flawlessly. Both the Chrome “toggle all” and that javascript trick works well. I assume they are limiting the select all feature as spammers use it to their advantage?
great :) thanks
Code doesn’t work. Does not invite everyone. Leaves out hundreds, sometimes thousands of friends. Need new code!!!
Guy’s, I dont know what your doing wrong or if something has changed, but the code seems to be working fine.
btw, I am inviting people to an event.
Sam
Uh oh!!! This was working brilliantly but seems to have stopped working!
OMG !!! HELP ! We need a new code to invite all our peeps to our grloups/events ! Be our hero Man !!! The world needs you !!!
Who needs the Java code when Google Chrome works just fine. Go try it!
The java code doesn’t work on page , can you please find another code to select all thanks
Great solution !!!
https://chrome.google.com/extensions/detail/eibdjcmcmfggjoiaaoojhicjnkghbkbe
the second one seems to be alot faster :)
Ron’s link above is working ! yeah :D
WAAAAAAH! It doesn’t work! Please send new coding!
Please make a new code for Fan Pages and Events invites… I can’t click 2000 times every time I put one of my artists online and need to start the promo!
I wish Facebook would make some kind of Admin priveledges for heavy users of Facebook.
no.. ron’s way is not working.. tried it… gonna try the google chrome way
Maybe but you can make it work by visiting the link on Ron’s comment above.
I have been using the code for awhile now. And it has been working perfectly, until about a week ago I believe. Do you think facebook has stopped the use of the code?
The Javascript to suggest friends quickly no longer works!!! Is there another one??
Check Ron’s comments… He posted a link on his name which fortunately works !
Get to my site to see the updated code to select all friends in a click. Let me how it goes… :D
Nooooooo… It’s not wroking :(
Code is no longer working since aug 29th 2010. Any update code?
This script no longer seems to work. :<
Our Masterminds Group
Cory Crabb
The extensions only allow us to select 32 friends at a time… any reason why??? All friends don’t show.. When we click on toggle all, only 32 friends get selected and others are not highlighted…
hi..same like you..i got 3 fan page..first one i can select all friends buat for second fan page..i just managed to select 98 friends only?
why..how to solve it?
guess code stopped working for some reason
:( too bad, please let me know if anyone knows about a new one, will do the same myself.
plz plz i want ur helpe that code not work last 2 day may be i am a resn for that problme it is secrt so plz i want know new code plz helpe me
Hey rusly,
Check my site to for the new code… The method I posted on my blog works
thanks!
nice… it worked
Ya.. its not working for last 2 days..
any new codes??
New code wanted !
It’s doesen’t work now… paste the new CODE…..
yeah your right it has not worked for a couple of weeks NEW CODE PLEASE
It’s doesen’t work now… paste the new CODE….. plz plz
javascript:fs.select_all();
Codes no longer seem to work on pages/groups, only on event pages…..
What you do is… you open the suggest a friend box…. then… right click in the box…and then click open in new window…then enter the code…
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}} ….. and it should work
Didn’t seem to work for me, did it work for anyone else?
It worked! I used the short selectall java script one up higher on this page but yeah opening in a new tab works, thank you you very much Alex!
Worked for me too, thanks guys! If anyone has any other codes for stuff like this, please can post them. Very helpful. Thanks xx
Thanks but it doesnt work :s
Hey, both codes don’t work now. (Tested with Chrome and Firefox on Ubuntu 9.1) I am in the hope that someone finds a new code. I look forward it! Regards.
this is no more working script its useless
please share some new 1,
thanks
if it doesn’t work, blame this blogger for letting it out to the world and asking folks to share it on facebook. This code has around on the web for over a years until this dude blew it out weeks ago. Facebook killed it when everyone wants to take credit for sharing with friends on Facebook platform..
no need to blame anyone.. no one did anything.. this was not a hack code.. face book offered a ALL feature but for some reason it didnt work on profiles with so many people.. this was simply a javascript code not a hack code.. face book changed their format not to avoid this code.. this code has been out for 2 years.. face book just did a update and that cause this code to not work.. there will be a new code.. give it time..
Guys stop trying, non of the above scripts will ever work again, its official that FB prevented their job, so stop wasting your time trying on all internet browsers you have, don’t waste your time trying waste it on manually selecting friends ;)
good still 600 friends to go for me (i’m selecting friends to join my page in the manual way)
Verified by facebook, that it will never work again.
rip
This code no longer working!!!
selamat datang ke groups EimanCatering!
yea.. its done.. i tired all all browsers
As of 8/27/2010 this is no longer working with firefox nor internet explorer. The second script seems to be trying to work but I believe it is grabbing content from the main frame instead of the invite friends frame. Could somebody find a new script that still works? Facebook probably patched this one.
i tried both scripts with Internet Explore, Firefox, Chrome, Opera…. Non of them works while inviting friends to the group!
yeah.. today all scripts doesn’t work anymore!!!
non of the java scripts worked for me, maybe because am using Google Chrome, i dono, this is really confusing !
This Code Its Not Working With Group, Just Page.
Neither worked for me anymore, either. I’m using Firefox. New code, anyone?
It doesn’t work anymore as of today. I’m in big trouble! Anyone have a new code ?
Please help
WHAT BROWSER DO YOU USE?! :o It won’t work with google chrome..
i tried today 8.23.10…..javascript:fs.select_all();…..worked fine thanks i have a lot friends in fb….
hi leruffo, are you sure? today 8.24.2010 it doesn’t work. i tried it, it only selects all friends, but there are no invites sent! i am sure… because my freelance work is sending invites to people fanpages… yesterday is ok, but today is a bad day for me!
by the way, what browser u are using?
awesome~~~ thanks!!
Works For mee too! Thanks a lot man u saved me a lot of time!
This doesnt work, it just reloads the page, then nothing is selected!
it doesn’t work anymore
it works perfect for me!!!
Cool!!! It worked, you so rock my world. I have been doing invites with one click at a time for years! Yay!!!!
PS. The first one jammed up my browser too but the second one is the one that worked on both of my pages.
The second script is still working (Tested on Aug 14, 2010), using Chrome. Thanks for the great tips.
The second script is still working (Tested on Aug 14, 2010), using Safari. Thanks for the great tips.
Oh! My! GOD! This is my favorite trick ever. At first you think you’ve broken your computer irrevocably, but then all of a sudden, poof, it just works. Thank you so much!
I promise not to abuse the power (much).
Thanks, it is much easyer to invite all friends on event then to click it 1 by 1.
Whuaa This script worked well,,, Thanks you
Works for me everytime. Didn’t read through all the comments but I’d love a script to grab only those who haven’t been invited to the group before.
You can make a bokmark, then put this javascript code into the space where URL goes, and place it on toolbar, or anywhere you want, then when you have the friends window open, just push the bookmark, and it will select all
That is so awesome. I tried the first script and it worked. I have about 4,000 Facebook friends, so I figure you just saved me an hour or two at least!
it dnt work 4 me today ….i m using firefox latest Version 3.68 …
Thank you so much for this tip! I was dreading having to select friends to invite one-by-one. Brilliant! :)
update: test the second script
it work.
if after u click the sent button on facebook
you need to wait. i invite 3500 person and wait for 15 minutes till it complete
Please visit my page on facebook and click like
http://www.facebook.com/pages/Muhammad-Adha-Muhajier/139610776069995?ref=ts
I dont know if it work or not yet
But
I try it on Safari on my macbook pro.
Its successfull to select all 3500 of my friends.
and I succes click sent invitation.
but dont know if it sent cause after I click sent
the loading pop up is so looong. and not dissapearing.
maybe cause i select to much?
If I’ve used this once successfully when first launching my Fan Page, if I use it again, will it exclude all friends who are already fans?
its not working with firefox why ??
xD
Can someone come up with a group code to fix this problem? I’d appreciate it!
It doesn’t work anymore.
I have tried this trick for a couple of month and i did it. But didn’t anymore
doesnt work with groups :S
It doesn’t work on group’s page. Is there another way to invite all friends to a group?
doesn’t work with groups anymore…? still works with events and pages though
This is genius!!!
Thanks a lot, this script saved me TONS of time!!!
Greetings from Vienna
Markus
Doesn’t work anymore. :*( Got any new code???
It no longer works, unless I am doing something wrong, it worked for me a few months ago but I am thinking the Elitist that own facebook have stopped this from working in the recent past! not happy at that at all :(
The second one works! The first one jammed my browser (tried it three times, all with the same result).
Small correction: while it indeed selected all my friends and told me that the invitations were sent, no action actually occurred (I opened the invitation window and all the names were in regular font, as opposed to pale gray). I have over 1,700 people in my contact list, and this is a fan page suggestion (not an event invitation), so perhaps at least one of those two played a role in the failure.
Used the script once and worked great. Today i keep getting “Error on Page” mesage at the bottom of the screen. Are there know issues?
What a relief when you have 5,000 friends to click one by one by one by one. It actually worked. Yeahhh!!!
I’m behind technology but I’ll find a way to enter this contest.