Sanjeev Sabhlok's notes on technology, hardware, gardening

‘Select all’ on Facebook

From Somnath's blog:


Have you ever wondered why Facebook does not have give an option of Select All while sending an invite to your FB friends? It's very frustrating to keep selecting them one by one. For reasons I had to contact all of them and faced the same frustrating problem and in fact many more people have faced similar problem as evidenced by a search on this on Google. My search took me to from where I have picked up the following paragraphs giving the solution.
he 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:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){[fid]);}}

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.


View more posts from this author

Leave a Reply

Your email address will not be published. Required fields are marked *