When you are trying to invite your friends to your page, it can be tedious. So here's a quick javascript to select all your friends in Facebook so you can invite them all in one quick motion.
Suppose you have a Fan page or an Event on Facebook and you want to select all your friends, follow these steps:
1. Open the Invite Friends dialog
2. Post this JavaScript line into your browser's address bar:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Simply copy and paste that into the address bar when you have the friend selector window open. I have a video to show you exactly what I mean here:
So now you know how to select all friends on Facebook for an event, the easy way. You can use it to invite friends to your facebook groups, pages, anywhere the friend picker window shows up!
No comments:
Post a Comment