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
December 13th, 2010 at 13 December, 2010
It doesn’t work since the new profile is out.
December 14th, 2010 at 14 December, 2010
Its doesn’t again, do you have another script…. thanks
December 15th, 2010 at 15 December, 2010
can i use this to invite all facebooks friends to foursquare?
December 15th, 2010 at 15 December, 2010
This donesnt work any more, now u can invite max 49 ppl at 1 time
December 15th, 2010 at 15 December, 2010
no comment on my post
December 16th, 2010 at 16 December, 2010
hi,
for event wise, i managed to invite all. but as for my business page, there is only this button call ” suggest to friends” which is different from event page’s button ” suggest friends to invite”, which bring me to this problem of nt able to select all my friends to suggest my page to. is there other way of doin it ?
December 17th, 2010 at 17 December, 2010
YOU ARE A FREAKING GENIUS!!!!!!!!!!!!!!!!! I THANK GOD HE BROUGHT YOU INTO EXISTENCE!!!!!!
December 18th, 2010 at 18 December, 2010
Hi
Is it possible to have an update of this code because with the new Page of Facebook, this one dosen’t work ?
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
Let me know
Thanks
December 20th, 2010 at 20 December, 2010
this is balls, although the like page is funny
December 23rd, 2010 at 23 December, 2010
fuc… yeahhhhhh!
December 23rd, 2010 at 23 December, 2010
Unfortunatlly its not working anymore! Does someone know why? Did FAcebook change something?
December 23rd, 2010 at 23 December, 2010
Fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuckkkkkkkkkkkkkkkkkkkk
this shits the best
December 24th, 2010 at 24 December, 2010
You’re a fucking boner!
December 27th, 2010 at 27 December, 2010
YOU ARE A GENUIS!!!!! thank u so much
January 1st, 2011 at 1 January, 2011
A Big Mahalos from HAWAII! thank you for this java script. Blessings to you!
P.S.
Is there a way to send a message to everyone at the same time?
January 2nd, 2011 at 2 January, 2011
it aint working anymore… SÄH
January 2nd, 2011 at 2 January, 2011
Thank you, thank you, thank you! You have saved me so much time! I just used it and it worked perfectly.
January 3rd, 2011 at 3 January, 2011
This code will only highlight the 9 on the page, do you have a new link to select all the names?
January 3rd, 2011 at 3 January, 2011
its not working for me on my mac
the page is annulled
any advise
January 3rd, 2011 at 3 January, 2011
I hate the new facebook web page it’s soooo lame!!!!!!
January 3rd, 2011 at 3 January, 2011
[...] Then I told her that even when she didn’t care to think about it, every time she googled, tweeted, chatted or played some facebook game, she was actually using a highly transparent and technologically advanced interface for algorithm construction. She was like “Whatever.” At this point I decided to drop it, even though I wanted to continue talking to her about using javascript to hack the facebook interface in order to invite all her friends to an event called R… [...]
January 4th, 2011 at 4 January, 2011
Sweet! What a time saver…
January 4th, 2011 at 4 January, 2011
Sublime…
January 7th, 2011 at 7 January, 2011
[...] award to two lucky winners and all you have to do is invite all your friends to the NoBucks fanpage (click here for a quick way of doing so), then comment here with how many you’ve [...]
January 7th, 2011 at 7 January, 2011
U can use
javascript:fs.select_all()
instead also u need to put it in your browser and hit enter just like previously,
If someone could help me I got problem with new goups type @ fb.com they made different things in it and now I can’t invite all friends at once. I need to add them manually, what is worst it is a different dialog box, so I have to put a letter first then the pic & name apperas and next i need to click each and put the letter again… makes me sick -> HELP WANTED
January 8th, 2011 at 8 January, 2011
Great – saved an hour of my day
January 8th, 2011 at 8 January, 2011
Great – saved an hour of my day
January 9th, 2011 at 9 January, 2011
i am 16 year old and you
January 9th, 2011 at 9 January, 2011
good job!
January 11th, 2011 at 11 January, 2011
Hi, this doesn’t seem to work when suggesting your own fan page to friends. Has FB changed this? Or should it still work?
Cheers
January 11th, 2011 at 11 January, 2011
Ok so you got alot of praise and rightly so, it worked for me once so i know it works… but like the last few comments ive seen, it doesnt work anymore.
If you want to be lord script boy again, make another code and fix it… I cant see here all day clicking shit anymore, and seen as though facebook doesnt have a select all button, its up to you to save the world now.
January 12th, 2011 at 12 January, 2011
it doesnt work with explorer as they changed it to pages, if you do it using firefox it still works
January 12th, 2011 at 12 January, 2011
My.
Fucking.
Hero.
January 13th, 2011 at 13 January, 2011
really useful, thanks
January 14th, 2011 at 14 January, 2011
I Love It
January 14th, 2011 at 14 January, 2011
It doesn’t work any more
(((((((
I have 995 people and it no longer works, but it worked before. What could be the problem?
I work on a new laptop. Could it be, that I have no Java updates?
January 14th, 2011 at 14 January, 2011
thanks dude…but is there any way to invite users except my friends…like i want to invite users out of my friend list…is there any possibility? thanks anyway
January 15th, 2011 at 15 January, 2011
Sorry to bust your bubble but it doesn’t seem to work to well with 1900 friends. Owel.
January 16th, 2011 at 16 January, 2011
this doesnt work u stupid cunt
January 17th, 2011 at 17 January, 2011
Awesome dude..:) Fantastic.
January 19th, 2011 at 19 January, 2011
THANK YOU!!! i was tired of clicking over a 1000 people for every event!
January 20th, 2011 at 20 January, 2011
THANK YOU SOOOOOOOOOOOOO MUCH
I realised that you can’t select all anymore and with 1000 contact it’s a serious hassle…
Used your code and hey presto!!!
HAVE A GREAT DAY!!!!
January 22nd, 2011 at 22 January, 2011
Hey,
The javascript doesn’t seem to work anymore now that Facebook made the changes to its event inviting process, with the checkboxes. Any ideas?
Philip
January 23rd, 2011 at 23 January, 2011
used to work for me from opera…but not with the new FB i guess its more secure thing
((
January 23rd, 2011 at 23 January, 2011
well done! So useful! Thnks lots!
January 24th, 2011 at 24 January, 2011
Everybody who loves football. Huge superbowl watch party! go to facebook.com then search Victor Delabeast, all are welcome to attend!
(Thanks, it worked!)
January 25th, 2011 at 25 January, 2011
We’re not worthy.
Poor ballsack – I bet he says that to his fist each night when it slips off and clocks him in the nose.
January 26th, 2011 at 26 January, 2011
It only selects the 9 friends that are available. Not everybody in your friend’s list.
January 26th, 2011 at 26 January, 2011
I fully expected to feel like an asshole after I tried this and it didn’t work but it did! Thanks!
January 26th, 2011 at 26 January, 2011
oh snap!…well that saves a shitload of time!