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
October 29th, 2010 at 29 October, 2010
Doesn’t work any more… seems like myspace has limited the number of invites…
October 29th, 2010 at 29 October, 2010
This works: javascript: fs.select_all();
November 1st, 2010 at 1 November, 2010
awesome!!! What a time saver-Thanks!!!!
November 2nd, 2010 at 2 November, 2010
and on the 8th day, God created this URL and it worked!!!!!!!
Thanks so much!
November 2nd, 2010 at 2 November, 2010
i want to chance my profile in FB pls.
November 2nd, 2010 at 2 November, 2010
i want to change my profile layout in fb.
November 3rd, 2010 at 3 November, 2010
You ARE AMAZING!!!!!!!! I didn’t have high hopes of it working but it does beautifully.
November 4th, 2010 at 4 November, 2010
This code is obviously useless now, it doesn’t work anymore.
The trick is that it selects all of your friends, but do not send any invitations. And it leaves your friends in gray color if you want to suggest something again… ie. they are blocked and you can not send them the invitation from the same page…
So you shouldn’t event use this…
November 4th, 2010 at 4 November, 2010
Update – Seems that it works for smaller amounts of people, but for larger not…
Maybe Facebook made some limit for the fan page suggestions?
November 4th, 2010 at 4 November, 2010
I haven’t tried it on groups but it works fine on pages.
Now if it is not too much to ask:
it seems to select ALL your friends, including those that have already been invited by other people; is there anyway it could be “improved” to only select those which have not been invited yet?
(I hate multiple invites personally so feel bad about doing it to people)
Either way: thanks for reducing the risk of RSI for all of us.
November 4th, 2010 at 4 November, 2010
AWESOME!! THANKS!!!!
November 4th, 2010 at 4 November, 2010
And one more thing – i’ve done over dozen different tests, it seems that i can send only 49 invitations in one go. Anything over that won’t work, ie. my friends are not getting any invitations at all…
November 4th, 2010 at 4 November, 2010
amazing
November 6th, 2010 at 6 November, 2010
Very Good
November 7th, 2010 at 7 November, 2010
AMAZING!!! I am so incredibly grateful! Thanks for your hard work.
November 11th, 2010 at 11 November, 2010
Thank you so much!!!
November 14th, 2010 at 14 November, 2010
Thank you X
November 16th, 2010 at 16 November, 2010
woah. fucking immense. thanks dude
November 16th, 2010 at 16 November, 2010
U FUCKIN ROCK!!!!!!!!! THANXXXXX!!!!!!!!
November 18th, 2010 at 18 November, 2010
Awesome! You rock – thanks! You ever do any Facebook programming for people – like create pages, etc? If so – please email me!
November 19th, 2010 at 19 November, 2010
when i do this, only my friends that appear in the first group are selected (12), when i click on page 2 (or the others), they are not selected.
how do i select ALL my friends?
November 19th, 2010 at 19 November, 2010
Sure
November 19th, 2010 at 19 November, 2010
This works wonders, thnx!
November 22nd, 2010 at 22 November, 2010
[...] the NoBucks and Lumo Sumo pages, and invite all your friends to the pages! (click here for easy instructions of how to do so) and then comment on this post with how many friends you’ve [...]
November 22nd, 2010 at 22 November, 2010
I think this is amazing, thank you so much for giving so many people the oppurtunity to WIN SOME AMAZING TICKETS! you guys are obviously very skilled marketers, I know i am sucking up just alit but I REALLY do think your site is AMAZING and I am really DESPRITE to go to SYNERGY!!!!
PLEASE!!!!
THANK YOU!
November 23rd, 2010 at 23 November, 2010
How awesome of you to share. Ignore all the selfish people who try to encourage you to “keep the secret”. It’s in the sharing that the world benefits.
November 23rd, 2010 at 23 November, 2010
unfortunatly this script is only selecting the first 9 friends visible on the invite window. help?
November 24th, 2010 at 24 November, 2010
wooow amazing !!! thank u so much
))
November 24th, 2010 at 24 November, 2010
thank you very much !
you made my day
November 26th, 2010 at 26 November, 2010
it worked people try it thank you!
November 28th, 2010 at 28 November, 2010
Thank you very much~
November 29th, 2010 at 29 November, 2010
Excellenttt!! My fingers don’t hurt anymore =)
November 29th, 2010 at 29 November, 2010
Thank you for your efforts, the script was working efficiently, but I tried to use it today found that it no longer working.
Again, Thank You
November 30th, 2010 at 30 November, 2010
this works too easy!.. thanks!!!!!
November 30th, 2010 at 30 November, 2010
i want to hav ur babies
k that was exagerating
but seriously thnx
November 30th, 2010 at 30 November, 2010
Does not work anymore ???
December 1st, 2010 at 1 December, 2010
this doesn’t work for me on http://www.facebook.com/industrialhemp – why??
December 2nd, 2010 at 2 December, 2010
Does this work for suggesting friends to “like” something? I followed your instructions but had no luck. Am I doing something wrong? This would help me out tremendously!
December 2nd, 2010 at 2 December, 2010
thanx it really helps, i hope there was a shorter way to tag ppl on flyer, one one aint working , can you work on that
December 2nd, 2010 at 2 December, 2010
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
December 6th, 2010 at 6 December, 2010
doesn’t work anymore? maybe with the new layout update ?
December 6th, 2010 at 6 December, 2010
OMG UR DA DONNNN>>>>>> WE NEED MORE PPL LIKE U IN THIS WORLD
December 6th, 2010 at 6 December, 2010
ABSOLUTLEY BRILLIANT, WHO EVER DID THIS IS FANTASTIC, THANK YOU
December 8th, 2010 at 8 December, 2010
[...] (We’d also dig if you’d invite all your friends to the events, by doing it the easy way) [...]
December 8th, 2010 at 8 December, 2010
[...] Invite all your friends to it (easy way) [...]
December 9th, 2010 at 9 December, 2010
you are the MAAAAANN!!! thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
December 10th, 2010 at 10 December, 2010
This isn’t working for me anymore
December 12th, 2010 at 12 December, 2010
Amazing, used to spend ages selecting guests. you are the king. thanks
December 13th, 2010 at 13 December, 2010
You’re fucking amazing!!! Thankyou!!!!
December 13th, 2010 at 13 December, 2010
I think they updated it, It doesn’t work anymore
facebook.com/graffitigathering could you invite your friends if it works for you