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
May 11th, 2009 at 11 May, 2009
add me
May 13th, 2009 at 13 May, 2009
YOU ARE THE LAW
YOU ARE THE KING
YOU ARE GOD
Thank you brother. Dont share the secret jaja
May 13th, 2009 at 13 May, 2009
I’m amazed that there is not 100 comments on this. This is fantastic. Thanks so much for sharing. Works great and saves hours of time.
May 18th, 2009 at 18 May, 2009
Dude you are the man !! i thank you soo much for this information i owe you tons. please keep me updated on any other cool thing you come up with !!!
Thank you again.
May 21st, 2009 at 21 May, 2009
Wow. I love you, thank you, i broke my phone and had no way to send out group messages about numbers but thank you!
May 25th, 2009 at 25 May, 2009
Man, its freakin awsome way to make smthn so easy. Good job.
May 26th, 2009 at 26 May, 2009
cool ….
May 28th, 2009 at 28 May, 2009
dude u just saved me so much time kudos dude
May 28th, 2009 at 28 May, 2009
I love you
May 28th, 2009 at 28 May, 2009
Thought no way is this going to work… but it does excellent!
May 29th, 2009 at 29 May, 2009
This is trully marvellous and thank you vry much.
Do you think this principle can be applied to facebook groups of more than 5000 people?
I got such a group and there is no longer any way to invite the members of the group to an event i post.
I salute my Javascipt hero!
May 29th, 2009 at 29 May, 2009
Thanks for the feedback! I guess it should work the same way for large groups, although it will take some time with 100% CPU usage before the script is done running. Try it, wait for a while and tell me how it went
June 9th, 2009 at 9 June, 2009
You just saved me an hour. Thanks a million compadre.
I am saving that java for next time. Facebook can be so annoying.
June 9th, 2009 at 9 June, 2009
OMG, this is F**kin amazing… I almost got cramp last time I had to invite everyone to an event… I salute you! Good work!
June 10th, 2009 at 10 June, 2009
plumbo, it doesn’t working for me
June 10th, 2009 at 10 June, 2009
it, appears that all my contacts are selected, and I send the invitations, then facebook tell me that my invitations are sended.
but when I check my guestlist.. it does not appear anybody
(sorry 4 my bad english)
June 11th, 2009 at 11 June, 2009
your a genius , where are you based ? i would like to hire u for some ad hoc assignments , do email me at jj@mylifestylebash.com
June 11th, 2009 at 11 June, 2009
wow this is freaking awesome!!!! good job man and thanks!
June 12th, 2009 at 12 June, 2009
Thank you. This makes things soooo much easier. You would think FB would have an ALL option.
But oh well.
June 16th, 2009 at 16 June, 2009
I tried it , but it did not work. any suggestions?
June 17th, 2009 at 17 June, 2009
This works a treat. Saves hours of clicking and has helped me to get so many more people to my gigs. Thanks mate!!!
June 19th, 2009 at 19 June, 2009
Actually it doesnt work. Although it does select all friends, when you hit ‘send invites’ it will tell you they have been sent… if you then refresh the page to see how many ‘Awaiting reply’ people there are, the figure will not have increased from before.
June 21st, 2009 at 21 June, 2009
I Love You.
June 23rd, 2009 at 23 June, 2009
Awesome! This makes my life so much easier.
June 24th, 2009 at 24 June, 2009
Wow. You rock dude. My mouth literally fell open when I used this cause I couldn’t believe it worked. Thank you SO Much for sharing.
Ricci
June 24th, 2009 at 24 June, 2009
hey , awesome work BUT i find it only selects 9 at a time ..am i doing it wrong?? Thankyou though
June 24th, 2009 at 24 June, 2009
Amazing. Truely amazing.
June 25th, 2009 at 25 June, 2009
BRILLIANT!!
Thank you so much!!
June 29th, 2009 at 29 June, 2009
i thought this would be some virus but it worked!!!
July 3rd, 2009 at 3 July, 2009
It’s Great!!! Thanks a lot…
July 8th, 2009 at 8 July, 2009
wow amazing! ty very much
July 10th, 2009 at 10 July, 2009
Big ups – this saves a lot of time! Thanks bunches!:)
July 15th, 2009 at 15 July, 2009
THANKS SO MUCH. YOU ARE THE MAN, the world needs to know!
July 16th, 2009 at 16 July, 2009
Perfect. Works like a charm.
You have my huuuge respect till the end of days of FB.
July 21st, 2009 at 21 July, 2009
MONEY!!!!!
July 23rd, 2009 at 23 July, 2009
THIS IS ACE!!! THANKS
July 24th, 2009 at 24 July, 2009
“Comment by nn
YOU ARE THE LAW
YOU ARE THE KING
YOU ARE GOD”
July 30th, 2009 at 30 July, 2009
Oh my… You rock! What a savior, when you have thousands of friends, it takes hours to go through clicking them all one by one.
I owe you! Check out my website (music and clubbing social network), I will offer you free advertising for helping me out by this JS hack
July 30th, 2009 at 30 July, 2009
This worked like a charm… 4200 people invited in a matter of seconds where normally it would have taken several hours. You Rock! I am going to syndicate this post all over the place…
August 1st, 2009 at 1 August, 2009
Money. This is great, thank you so much.
August 2nd, 2009 at 2 August, 2009
DUDE YOU ARE AMAZING THANK YOU SO MUCH
August 2nd, 2009 at 2 August, 2009
Javascript Christ!
thanks for the much needed salvation.
more programming prayers to you.
August 2nd, 2009 at 2 August, 2009
Gosh. Does it really work?
August 2nd, 2009 at 2 August, 2009
Oh yes! It works! You’re the man! Thanks so much!
August 4th, 2009 at 4 August, 2009
hey :S i have an event on august 29 and this url is only inviting 9 friends at a time , how can i invite all friends at the same time ? ? ? please reply
August 5th, 2009 at 5 August, 2009
O M G.
I totally agree. You are a god. I guess a Facebook god, but a god.
WHY ARE THEY SO STUPID TO NOT LET YOU DO THIS ANYWAY?
IN ADDITION, WHY CAN’T I INVITE FANS (MY FANS, PPL WHO SIGNED UP TO GET UPDATES!!) TO AN EVENT. RIGHT NOW, FB ONLY ALLOWS U TO INVITE FRIENDS. THEY ARE SO DUMB I COULD SCREAM.
August 5th, 2009 at 5 August, 2009
Holy God!!! You are my savior!!!!!!!!
You don’t know how long I have tried to figure that out!!!! wow
Thank you so much!!
August 5th, 2009 at 5 August, 2009
This is one of the most brilliant innovations I have seen online in a long time. I think I seriously just peed a little. In my pants.
August 9th, 2009 at 9 August, 2009
You are a fkin legend. Well done.
August 10th, 2009 at 10 August, 2009
So grateful for your gratitude! Thanks!