Bookmarklets, How-To, Tools — June 6, 2010 11:54 am

How To Select All Your Facebook Friends In Just One-click

Posted by

If you’re planning to create an event in Facebook and you want to invite all your 1,000+ friends, it’s really time-consuming and very tiring if you’re going to click each of them. Since Facebook doesn’t have “select all friends” feature, Plumbo decided to create a javascript that will let us select all Facebook friends in just one-click!

Here’s the javascript:

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

How to use the javascript:

1. Login to your Facebook account.

2. Try to create an event. Click “Who’s Invited?” and click Browse.

Create An Event In Facebook

3. Your friends list will appear. To select all of them, copy-paste the javascript to your address bar and hit Enter.

Copy-Paste Javascript To Address Bar

4. Now, all your friends will be selected instantly!

Select All Friends In Facebook Instantly

You can also drag and drop the bookmarklet below to your bookmarks toolbar so the next time you would like to invite all your friends, just click the bookmarklet.

Select All Facebook Friends Bookmarklet

NOTE: You can also use the javascript to suggest a Facebook page to all your friends.

I’m sure most of you will find this script very useful and it will definitely save you hours of tedious work.

(via Plumbo)

Also see:

If you enjoyed reading this post, please subscribe to our RSS Feeds or you can also Subscribe via email so you'll always be updated of my latest posts! Just enter your email address below and click the Subscribe button.

Follow me on Twitter Become a fan on Facebook Follow me on Google Plus Follow me on LinkedIn
Post comment as twitter logo facebook logo
Sort: Newest | Oldest

There is software available now that can select up to 5000 friends (the max you can have!) on facebook. Unfortunately its not free but you can get a free demo at http://www.fbtoolkit.co.uk

My second book in on social networking. I would love to include your script to select all guests. May I have your permission to add it to the manuscript? I will credit your Web site and you buy name, if you wish.

My first book, Web Content Rx, (www.webcontentrx.com) is a Top 5 Business Title in Leadership Books at The Washington Post. It is sold worldwide and translated into other languages and available online and in bookstores.

Thank you for writing this script. Well done. I look forward to your reply.

Wayne English
President
Web Content Rx, LLC

Hi Wayne,

Actually I'm not the creator of that script. I just featured it here on my blog. Please ask permission directly from the creator/writer. :) Thank you!

Regards,
Christian

I have created a script to select all users in a FB contact list. You don't have to scroll to the end because the script scrolls it while there are more users to check, and it is resource savvy so you can browse Facebook in other tab/window while the title of the window where the process is running would change to display what is the script doing. Is bigger than the usual ' select-all-FB-contacts' scripts, but is helpful when you have a big list. I have tested it with 2000 contacts and it takes 25-30 minutes to finish.

If you want to test it, just visit this page http://www.sebaxtian.com/archives/1041 (in spanish) and drag the Facebook image (in middle of the post) to your bookmarks, then go to a Facebook contact list and press the bookmark entitled 'Fb - Todos' ('todos' mean 'all' in spanish). Remember, you don't have to scroll to the end, because the script would scroll for you.

It takes more time than other scripts when processing short lists, but for big lists I love how it works.

Thank you, Sebastian! You rock!

daymon 5 pts

This is Awesome! BTW on Macbook Pro using Firefox 6 0 1

http: //www.youtube.com/watch?v=YMpukOK0dsw
- works for me ..

Thanks but your code is not working no more now as facebook now dose not allow to send more than 49 friends suggestion at a time for one page from one account.I have found a new script in this website
howtod.com

The above one dosen't work. Chk dis method, this one works
http://bit.ly/agsa27

show
 
close
rss Follow on Twitter facebook linkedin google+