UPDATE 2: Still a lot of visitors come to my site, so I decided to update the code to a newer one which works as of November 2011. It’s worth to mention that executing Javascript directly in the URL field is not supported for all browsers. It should work in Google Chrome, there is now even an extension for this feature called Facebook Super Select All. Thanks for the contribution in the comments!
UPDATE 1: After this post was originally written, Facebook came up with a solution to create lists of friends. You can create several lists, based on your own personal criterias, and add your friends to different lists, which you then can send event or page invitations to. I would rather recommend using this solution provided by Facebook, so that you don’t send information which might not apply to all of your friends.
To create a list, go to your Account settings, choose Edit Friends and Create new list. After you’ve created new lists you have an option to filter friends based on list names when you’re inviting friends to events or pages.
The newly redesigned Facebook has led inviting members to an event/group/page to an even more complex process. Why can’t they just make a “select all” button? Initially I got tired of clicking several hundred times on all the pictures to invite people to my event, so I came up with this small piece of Javascript:
Go to your event/group/page, click invite people and then paste this snippet in the URL field of your browser.
Left-click the mouse in the URL field and hit Enter. Your invitations will not be sent yet, but all your friends will be selected. Click the “Invite” or “Send” button on the Facebook page to finally send the invites.
Soi! Done in one go
January 7th, 2012 at 7 January, 2012
Didn’t get it to work unfortunately, but will try again with another pc. Thanks.
January 10th, 2012 at 10 January, 2012
THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU
amazing
January 12th, 2012 at 12 January, 2012
Great information! Thanks for sharing. I saved a lot of time due to your tips.
January 13th, 2012 at 13 January, 2012
it works perfectly, the first thing u must do after clicking invite friends is that u must scroll down on yr friends list to the last one on the page and past the script in the url field, if dont do that its gonna invite about 50 to 100 friends at a time
dj slim jan (south africa)
January 16th, 2012 at 16 January, 2012
I savour, result in I found just what I used to be having a look for. You’ve ended my four day lengthy hunt! God Bless you man. Have a great day. Bye
January 16th, 2012 at 16 January, 2012
I have used this ingenious script with specific lists and it works well. Scroll to the end of the list first then insert the URL. Unbelievable time saver. Thanks!
January 17th, 2012 at 17 January, 2012
greatest thing since sliced bread
January 19th, 2012 at 19 January, 2012
Did not work!
January 20th, 2012 at 20 January, 2012
I wonder what has happened to the button that used to ‘invite a friend to join fb’? It used to be quite easy to find, now I cannot find it!
Many thanks,
Alma.
January 22nd, 2012 at 22 January, 2012
I have tried the following article and the code works perfectly :
http://codingninja.net/article/117/How-To-Invite-All-Of-Your-Friends-On-Facebook
January 23rd, 2012 at 23 January, 2012
how long does it take to select all my friends? i have about 1,000 and nothing has happened after about ten minutes.
January 25th, 2012 at 25 January, 2012
This is a very nice trick.
But his will only apply to Facebook. How to use this feature if you have a website?
January 26th, 2012 at 26 January, 2012
Thank you SO much for this!!
Question: Why,when I utilize this, it doesn’t select all of my friends (is there a limit on the number of names that can be selected at one time)? And why are some friends still available for selection after I’ve sent them an invitation?
Again, thank you for this great time saver!!
-Andrew
January 29th, 2012 at 29 January, 2012
keith, you have to type “javascript:” at the beginning. It doesn’t copy over on its own.
Anyway, thanks for this epic tool. I, too, don’t see why this hasn’t been added as a button in Facebook. You’d think it would be a no-brainer considering the size of most folk’s friends lists.
Kendall Sutton
IT Guru
http://www.facebook.com
http://www.bluechipcomputerandtech.com
Exceeding expectations with consistent quality and unsurpassed value!
January 30th, 2012 at 30 January, 2012
All are friends!
January 31st, 2012 at 31 January, 2012
doess it tick your friends for you or does it just invite without showing the ticks ???
February 2nd, 2012 at 2 February, 2012
whoah this weblog is great i like reading your posts. Keep up the great work! You understand, lots of people are hunting around for this information, you could aid them greatly.
February 8th, 2012 at 8 February, 2012
GRACIAS theeeee Businesssss
February 14th, 2012 at 14 February, 2012
Just to burst your bubble. It still doesn’t work. Facebook has an anti spam detector that allows only a certain amount of invites to be sent. it lets you think you’ve invited all but really only sends between 1-10 invites. I found this out yesterday after a year of wondering why people I know weren’t responding to my invites. I thought I was unpopular. Now after realising this and inviting one at a time once a day i realise I was unpopular!! har har
February 22nd, 2012 at 22 February, 2012
do you have a new javascript.? it doesnt work any more
February 22nd, 2012 at 22 February, 2012
You’re an amazing person… Thankyou so much…
February 23rd, 2012 at 23 February, 2012
i couldn’t get it to work. It kept redirecting to me to a search engine that showed all pages that had to do with selecting all
March 2nd, 2012 at 2 March, 2012
Thank you!! Again – why does FB not have a Select all Friends button??
Unbelievable.
Regards,
JD
March 7th, 2012 at 7 March, 2012
The code does not activate ALL my friends, but just the portion displayed currently (when I scroll further down from the next row off friends are not activated anymore..
Anybody encountering the same issue?
March 7th, 2012 at 7 March, 2012
It’s not working! what am i doing wrong?
March 13th, 2012 at 13 March, 2012
Doesn´t work in Chrome, nor in Firefox – get a FB fault message instead.. help?
March 16th, 2012 at 16 March, 2012
Its not working for me. Please help. thanks!
March 21st, 2012 at 21 March, 2012
YOU ARE THE FUCKING SHIT!!
March 23rd, 2012 at 23 March, 2012
Didn’t work for me!
March 28th, 2012 at 28 March, 2012
k doesn’t work i tried like 7 times.
March 29th, 2012 at 29 March, 2012
Why didn’t you make a select all button, EH? That would have saved me a button press.
March 29th, 2012 at 29 March, 2012
facebook does not allow you to invite more than 300 people at a time…300 pending is all it handles…so using this code to do groups of more than 300 seems futile. I cant even do more than 300 manually
April 1st, 2012 at 1 April, 2012
its pretty sweet runs 50-100 at a time
thanks you rock
April 1st, 2012 at 1 April, 2012
You, my friend, are a GOD.
I cannot explain to you how much time you’ve saved me.
Thank you so much for this, you should be doing some serious cash or something!
April 2nd, 2012 at 2 April, 2012
why cant u add more people on the event page,it only allows u to invite only your friends,please help..i cant work properly here
April 3rd, 2012 at 3 April, 2012
Oh, and finally i got something that works…. Thank you man…. Great Job
April 4th, 2012 at 4 April, 2012
Didn’t work.
(
Thanks for your help!
April 8th, 2012 at 8 April, 2012
It isn’t working now. Can’t it work on Chrome?
April 8th, 2012 at 8 April, 2012
dosent work -.-
May 8th, 2012 at 8 May, 2012
When I hit enter after I’ve pasted the link it runs a search on it and I go to the google page, do I have to do something else?
May 15th, 2012 at 15 May, 2012
This DOES NOT WORK, whats the point of keeping this up………………………………….
May 16th, 2012 at 16 May, 2012
it will only work in chrome
May 16th, 2012 at 16 May, 2012
Great beat ! I would like to apprentice while you
amend your website, how can i subscribe for a blog website?
The account helped me a acceptable deal. I had been a little bit acquainted
of this your broadcast provided bright clear idea
May 17th, 2012 at 17 May, 2012
Thank you! this worked. NOTE: It didn’t work for me in Firefox, but it DID work in Safari.
May 22nd, 2012 at 22 May, 2012
In chrome you have to go to tools and then javascript console and paste it there… It works..
And a huge thank you to the author of the script..
“Sharing is caring indeed”
May 27th, 2012 at 27 May, 2012
Thank you very much! Champion
June 9th, 2012 at 9 June, 2012
thank youuuuuuuuuuuuuuuuuuuuuuuuuu!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:):)<3
June 11th, 2012 at 11 June, 2012
this script is working well with javascipt console!
thanks a lot for the comment @Divyendu!!
June 12th, 2012 at 12 June, 2012
oo nice
June 18th, 2012 at 18 June, 2012
In Chrome, the “javascript:” disappears. You need to fill it in yourself. Then it works fine!