Select all your friends in one click [Facebook hack]

Bored with selecting friends manually to send invites to pages and other? Here is a nice script that can select all your friends in facebook in one click. When I went to invite to, “ashout like box” I need to select all the friends manually to send invites. Selecting manually 150+ friends is really a boring, hard and time-consuming task. What I did is just searched to see anyone can help in selecting friends in one click, luckily I found one facebook hack or facebook trick to do that!.

By using this JavaScript you’re able to select all your facebook friends in one click. For better understanding it acts like a “Select All” option in facebook. I don’t know why facebook not added that feature in facebook. I think may be because of keeping interest of other facebook users too!.

Using this Script:

It is really easy to use this script, what you need to do is just open your friends list in facebook and then copy below JavaScript   and paste it on your browser address bar that’s it. Now just wait for a fraction of second you will see magic in your eyes!. It selects all your friends as soon as you press enter button through keyboard by pasting it (javascript) to browser address bar.

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

To see how it works, just go to your page and select “Suggest to Friends” option. As soon as you click that option you will get pop up window containing your friend list. Now copy and paste that javascript to your browser address bar now and click enter. Now that javascript will automatically select all your friends without selecting manually. Click “Send Invitations” to send invites to all selected friends.

Suggestion: Ashot is on Facebook

Here we made a video guide   to show how to use this javascript.


Hope that, this javascript will help you.. Share your opinion about this srcipt. Have already tried this script? Whether it really helps you or not? Share with us.

Thanks to plumbo for sharing nice script with us.

Click Here to Leave a Comment Below 15 comments
Arafat Hossain Piyada - May 7, 2010

This is nice hack, however I actually don’t love to invite this way. It never give anything in return. I talk someone personally and tell them about my page and let them chose if they willing to join or not.

David @Free Vaild Coupons - May 7, 2010

Does this tip really work? I have tried but failed

    P.K.ARUN - May 7, 2010

    defiantly it is working and we have personally tested it. check out our video guide for how to use detail. If it is not working for you test in some other browsers too (firefox).

Shiva | Web Magazine - May 7, 2010

Nice hack bro. I will try this out in my facebook account. Thanks for sharing

Lakhyajyoti saikia - May 8, 2010

Great sharing.I like this hack.Give a try in my facebook account.

jon - May 14, 2010

thanks! will be using it pretty often

Phil - January 22, 2011

Doesn’t seem to work anymore on the new facebook event invite interface. Any ideas?

annie - November 13, 2011

does this work at “Questions”? when you need to “Ask all Friends” ‘casue I have many friends in Facebook and I want to ask my question to all of them.

lauren - November 15, 2011

this is not working for me…..using safari browser….


Leave a Reply: