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
July 24th, 2010 at 24 July, 2010
God.. works gr8…
thanks mate
July 24th, 2010 at 24 July, 2010
Any script for mac?
July 25th, 2010 at 25 July, 2010
HOW TO INVITE ALL FANS FROM PAGE MR.GOD ????
July 26th, 2010 at 26 July, 2010
Thank you so much for this! I have used it countless times already!
July 26th, 2010 at 26 July, 2010
HOLY CRAP. YOU ARRREEE GOOOODDDLIKE BRO. (:
I’ve always had to click a thousand times to invite all my friends for my gig. now all i need to do is to just copy paste this shit. wish i learned javascript instead of C lol.
July 27th, 2010 at 27 July, 2010
i want new friends
July 27th, 2010 at 27 July, 2010
hey have the facebook changes made this script stop working or is my browser just rubbish?
does the script now need to be…. re scripted? have used this SO many times in the past at its great – keep up the good work (Y)
July 27th, 2010 at 27 July, 2010
does it work when inviting friends to other people’s events?
July 27th, 2010 at 27 July, 2010
doesnt work for mac, you suck :c
July 28th, 2010 at 28 July, 2010
OK – the problem I am getting with it, is that it works with fan pages but not with groups.
But when you invite friends to a fanpage, a pop window comes up, and I think that’s why the javascript works…
When you invite friends to a group it just goes to another regular facebook group – and the javascript DOESN’T work – is there a way around this?!!
(btw if you’re computer freezes it means it’s working… go get a cup of coffee, watch an episode of friends, then come back, it will have done it!)
July 30th, 2010 at 30 July, 2010
EPIC
July 30th, 2010 at 30 July, 2010
you saved my life. I hated my band for always making me do this and now I don’t have to!!!!
oh and if you’re reading this, add gongwuband to your facebook!;)
August 1st, 2010 at 1 August, 2010
Romba Thanks.
August 4th, 2010 at 4 August, 2010
this code is definately sucking both my balls…maybe if it was better like…actually works then i’lll pull one of them out
August 4th, 2010 at 4 August, 2010
you are amaaaazing !
August 4th, 2010 at 4 August, 2010
Its really amazing…u saved my time a lot………..
August 5th, 2010 at 5 August, 2010
Love it it’s great!!! I use it all the time.
August 6th, 2010 at 6 August, 2010
AWESOME! About time someone made this easier. Saves hours of facebook clicking. THANKS, GOD! <3
August 6th, 2010 at 6 August, 2010
BTW, add The Favour on facebook. Norwegian heavy metal band <3
August 7th, 2010 at 7 August, 2010
http://www.freeonlinegame.ws
Free Online Games
August 7th, 2010 at 7 August, 2010
Thanks
This is just what I needed
August 9th, 2010 at 9 August, 2010
great stuff…thanks. how helpful!
August 10th, 2010 at 10 August, 2010
brilliant.
August 10th, 2010 at 10 August, 2010
wow ur a legde, thx alot
August 10th, 2010 at 10 August, 2010
wow ur a ledge, thanx a lot!
August 10th, 2010 at 10 August, 2010
super thanks man!!!
)
you are..i mean…i love you!!!
August 10th, 2010 at 10 August, 2010
Doesnt work
August 11th, 2010 at 11 August, 2010
good one. saves time. way to go. cheers
August 12th, 2010 at 12 August, 2010
i wanna have your baby
August 12th, 2010 at 12 August, 2010
Absolutely brilliant! Thank you very much
August 13th, 2010 at 13 August, 2010
I dont have a comment
August 13th, 2010 at 13 August, 2010
Dont have one
August 13th, 2010 at 13 August, 2010
I love you.
August 14th, 2010 at 14 August, 2010
my firefox browser hangs (“not responding”) every time i key in the javascript above:(
August 15th, 2010 at 15 August, 2010
do you have anything for invite at once friends for a group not only for events?…… thanks……. inform me …..
August 15th, 2010 at 15 August, 2010
if you have something… answer to georgehimonetos@yahoo.gr………… thanks … you are the best!!!!!!!!!
August 15th, 2010 at 15 August, 2010
SPECTACULAR WORK, MY GOOD NERD.
YOU SAVED ME 13 TO 14 MINUTES,
AND QUITE POSSIBLY SAVED MY WRIST FROM CRUMBLING.
HUZZAH!
August 16th, 2010 at 16 August, 2010
Awesome, dude!
August 16th, 2010 at 16 August, 2010
You were officially THE man for doing this. I have nearly 5k friends so don’t have time to put them into groups! This code has stopped working in last few weeks – prob down to new layout of facebook events. Any chance of creating a new one?
August 16th, 2010 at 16 August, 2010
This trick is really great! I used it to suggest friends to our fan page on facebook! thanks!
August 17th, 2010 at 17 August, 2010
doesn’t work with 3.5k + friends unfortunately
August 17th, 2010 at 17 August, 2010
Freeggin awesome
August 18th, 2010 at 18 August, 2010
me as well.. not working for adding to GROUPS — any workarounds? – is it facebook or maybe what?
August 19th, 2010 at 19 August, 2010
Shazzam! It worked! Thank you!
August 19th, 2010 at 19 August, 2010
FANTABULOUS!!! It worked in 1 try!
Thank you soooo very much for this info!
Greatly appreciated!
Nicaribbean1
August 19th, 2010 at 19 August, 2010
This is Excellent.
Thank you very much.
August 20th, 2010 at 20 August, 2010
God bless you !!!
August 22nd, 2010 at 22 August, 2010
hi this is excellent work of that cant describe in word and i hope u can give idea on next how to add friend faster.
thanks com hero.your work is fantastic.
rabiul
August 22nd, 2010 at 22 August, 2010
THANKS A LOT MAN!!!
August 23rd, 2010 at 23 August, 2010
If your reading this then you have probably wondered why facebook limits the amount of friends you can invite to your event.
Facebook probably introduced the limited click invite process to reduce the amount of spam on facebook.
To send to a large group of friends first go to your > ‘friends’ tab and click on the ‘+ create a list’
click on all the people you want to be part of a group – title the group and press the ‘create list’ button.
Then go to the groups that you manage
Adverts and pages > pages > click on your event and find the + select guests to invite.
This opens a window click on the ‘filter friends tab’ and select your group.
No Javascript!