Nov 27

The newly redesigned Facebook has led to inviting friends to an page/event/group to a less complex process, but still takes up alot of (frustrating) time. I understand the reason for not making a “select all” button, but personally… it’s a mission. With that said, please don’t use this to spam. After hearing so many other people getting tired of clicking several hundred times on all the pictures to invite people to their Page/Event/Group, one thing led to another so I came up with this neat piece of Javascript.

Go to your event/group/Fan Page, click “Suggest to Friends”. A pop-up will appear where you can invite your friends. Now clear the URL at the top of your browser and paste the following code in the address bar (see image below):

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

Highlight the URL by left clicking on it and hit “Enter” on your keyboard. Your invitations will not be sent yet, but all your friends will be selected. Click the “Send Invitations” button and all the invites will be sent!

Hope this saves you a lot of time. Enjoy! :)

Connect with me on http://www.facebook.com/jpvanderspuy



Tags: , , , , , , ,


AJAXed with AWP