Inviting all your friends to facebook events: update March 2011
Update 13/01: Update for chrome user published
Update 18/03: Here is a video explaining how to use the script!
Update 17/03: version 2 of the code
Facebook just changed (on march 15th 2011) the way to invite friends to event, so a new script is needed.
The code I came up with is:
Version 1:
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};
Version 2:
javascript:var elms=document.getElementsByName("checkableitems[]");for(var count=0;count<elms.length;count++){var t = setTimeout("elms["+count+"].click()",100)}
Since now the facebook system uses lazy loading, only the first 100 friends are selected.
You can prevent this by scrolling to the end of the friend list before applying the script!
As before, the script can take a long time (several minutes for thousands of friends) before actually selecting every friend, so just wait.
If your friends are not too many, you can also create different lists of 100 friends each, and apply the script on each list.
I tested version1 with Chrome, other tested firefox 4 and opera. let me know of problems or better solutions!
Some people reported browser crashes.
The script is probably intensive for a high number of user (i could not test more than 500 :D). In case, try version 2!
I posted 2 version: the first is the "normal" one. The second might be a bit slower, but should avoid browser chrashes (I hope!). I'm still working on a faster version, so check back ;)
How to use it:
Triple click on the script (version1 or version 2) to select it.
Copy (ctr+C) the above script.
Go to the event page and select "invite friends". When the menu opens, select your friend list (or just leave "all friends"). Scroll to the end of the panel, and then past into the url bar the script (ctr+v).
Wait a bit (maybe more than a bit!), and you should find all of your friend selected.
Submit the invite and you're done!
Let me know if this doesn't work. For a guide with screenshots check http://www.v3im.com/2011/03/inviting-all-friends-to-facebook-events/.
Special instruction for use on Chrome:
http://giacobam.blogspot.com/2012/01/invite-all-friends-update-for-chrome.html
A video is also available here.
(see http://giacobam.blogspot.com/2010/09/trucco-per-invitare-tutti-agli-eventi.html for instruction in ITALIAN)
90 Comments:
I don't know who you are but you are awesome.
Thanks for this....
thanks :)
Let me know if you find any problem!
THANKS GOD!!!!
I LOVE YOU! IT WORKED!!! <3
Legend!
i found that if you simply scroll to the bottom of your friends list before using the code it will select the entire list, not just 200.
thanks again mate :)
Whit chrome sometimes isnt working or get crashed chrome, but with OPERA it works perfectly :) thx again, dude!
thanks! I updated the post!
And how would I apply this script? Sorry, I'm a rookie.
Great! Thank you very much!
THANK YOU THANK YOU THANK YOU.
claksaarb
I added the description on how to use the script on the post! Let me know if you need further details!
works also with opera.
thanks :-)
you just saved my life,....THANK YOU
Thank you so much for this! You are currently the ONLY person on the web that has posted a solution to Facebook's recent change to the invitation process. (So annoying)
Anyhow, I've got 5,000 friends and first tried this code in Safari. It crashed the browser and didn't work.
Opened up Firefox 3.6.15, scrolled to the very bottom of the 5,000 person list, copied and pasted the code and voila! "Success! Your invitations have been sent."
Note: It took about 5 - 7 min for it to select all. I had almost given up and was going to try the code on one of my smaller groups instead of "all" but just as I was going to cancel, all the boxes became checked and I was in business. Amazing!
Thanks again.
thank you Kristina for this comment!
I have a couple of ideas for improvement (including auto scroll), let's see what I can do!
it works!
Genius!
thank you so much!!!!
Thank you!!!
Thanks!!!
The code 2 works fine -
I followed your instructions - scrolled down first, enter the code, WAIT and here it it!!
You saved me from straining my hand, I hate that they expect people to click each name, it's crazy, but that's to you, all sorted!
Keep it up good workk...
Thanks from the Netherlands... Love it!!!
Not working for me yet????
not working sean?
did you check the video?
http://giacobam.blogspot.com/2011/03/how-to-use-facebook-script-video.html
Ti ringrazio - sei grande!
Thaks!!!
You are a shiny shiny person whoever you are!
Many thanks for this script!
^_^
// Phil
the 2nd code select 1 by 1... working here! thank you so much! all the best from brazil!
THANK YOU from the bottom of my heart.
Greetings from Brooklyn, NY.
Thank you for this posting.
It works!
Regards,
Nipsyco
What can i do if i have around 4800 friends on facebook? hehehe...
It works... Thanks so much.. now if we can get FB to stop changing their site all the time
thank you all!
George you can try splitting them in friend list and invite a list at a time..
Code works on event invites but doesn't seem to work on page suggestion invites. I tried them both in chrome and firefox and no luck on the page invites. Great work for event invites tho.. hopefully a page invite script is in the works? =]
Thank you man!
yes, the group/page invite page is different, a different script is needed! I'll work on it!
thank you... it works great
On both Google Chrome and Firefox neither code is working for me... tried ctrl+x tried paste & go tried every method I know of pasting and going that I could think of any neither v1 or v2 are doing anything for me... any ideas???
I used version 2 in Opera for 650 friends, and it took 4 seconds to select all my friends. Thanks alot!!
Thank you so much for version 2 :)
I know no words to tell you how much I love you! Thank you so much!!!!!
THANKS A LOT, IT WORKS PERFECTLY !!! IS THERE ANY WAY FACEBOOK CAN FIND OUT WE ARE USING THIS? A FEW OF MY FRIENDS GOT THEIR ACCOUNTS DELETED AND I'M WONDERING IF THIS WAS THE REASON...
can u plz me javascript code to suggest friends from page not from event.
can I have this too please...javascript code to suggest friends from page... thanks
Thank you for this! Ace!
Still hoping someone comes up w/ a hack to Suggest 'All" Friends to a Fan Page...Anyone?
This saves me so much time. You're awesome. And I love how happy/excited you get about it. Have a great day!
Thank you very much for this updated script. It is very appreciated!!
-J Toronto
Tested using firefox, great work, thank you for sharing with us!
It is not working for me!! Help!!
Wahou! Thank you so much :)
I love, love, love you!
absolutely brilliant! thanks alot
Does it also work for inviting people to answer a question? Cause if it dies it seems to be taking forever or am I just waiting for nothing like a fool?
Thanks so much! >:D<
Thank you so much! :)
Thank you!
it seems that it keeps telling me that i have to 'narrow' down my selection to people that are most likely to be interested in the event and not allowing me to do even 100 at a time. Ideas?
I am interested very much in the subject matter of your blog.I like very much your way of presentation.. I got more useful information on this blog.. Thanks for sharing the useful information….Keep it up.
hey, can u give the scrpit for fans page? i need that. thanks :)
Very good post. Thank you so much for sharing this information. I have bookmarked this page for future use.
Thank you so much for this! You are currently the ONLY person on the web that has posted a solution to Facebook's recent change to the invitation process.
Thank you so much <3
Muchísimas gracias
Mile cioccolata gratzie
Thank you so much
Both codes is not working!
Some fix?
doesn't work. I have used Chrome, Firefox, and Camino
Glad to read this post. Very informative and interesting one. Looking forward to read more. Thanks.
please update code. not working and everyone would appreciate it greatly!
THANK YOU! IT WORKED PERFECTLY! :)
hey, how long does it usually take to select a group of friends lets say over the 2,000 number??? it seems like it takes forever!!! Hope it works!!!
The javascript worked for many months but now it has stopped working. Can you easily fix it?
Many Thanks!
yes it was working perfectly, until yesterday, i think facebook changed js code and most probably variable names
Well, it's another sad day in FacebookLand... this code no longer works :( It was great while it lasted!
Have you noticed this yet? And if so, any chance you've figured out a new workaround?
So ridiculous they allow us to make events and then no way to invite people. Unreal.
If anyone has any info, please share it!
-Kristina
I've noticed the script problem, facebook changed the page markup and introduced an Iframe. I'll take a look, but this doesn't seem easy to fix.
Please if someone find another methode, please post it here, we will aprecciate it very much, thanks anyway :)))
Thank you!
NEW POST above me..
07 giugno 2011 10:20
Worked!
version 2 worked for me still too
SIR, YOU ARE A GOD. VERY VERY NICE.
please I think it doesn't work again, could you help me? Matbe something changed durign this time. We are Italian so you can also write in Italian if you prefer.
Hey! First of all, thank you! This was a great solution while it lasted! As of today, Facebook has broken how to Invite people. The script no longer works. I hope another update of this script will be available soon!
Great to hear your positive experience!
Thanx for sharing that. It was fun reading it. :-)
That was a VERY interesting one! Seriously interesting.
Thanks for great article sharing...
Greetings and thank you very much for share
Thank you, that was just an awesome post!!!
Thank you, that was just an nice post!!!
Thank you so much share nice article
Posta un commento