This used to be a major problem those days when you create a fan page or rather a like page on facebook and you would like to invite your friends to like the page, then after clicking on the Invite Friends link, then you would start clicking the checkbox next to each of your friends. This is really strenous in situations where you have thousands of friends to invite. But here is a little JavaScript you can apply to check and invite all your friends at a go.

Steps to follow
– Launch Mozilla, Login to facebook and Visit the page you created.
– Highlight and Copy this code

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

– Click on the Invite Friends Link.
– A dialogue box would pop-up with a list of your friends and a checkbox nex to each.
– Press Ctrl + Shift + K on your keyboard then a new dialogue would pop up.
– Press Ctrl + V on your keyboard and hit Enter key.
– All your friends would be Tick.
– Then Click on Submit.
– A message would be shown that your invitation was sent.

For 11/11/2011- 11th, November 2011



Please enter your comment!
Please enter your name here