Select All Facebook Friends to Invite

Dec 15

Select All Facebook Friends to Invite

1. Install Mozilla Firefox if you don’t already have it and launch it.
2. Log into Facebook and go to your page you want to invite users to.
3. Click on the “Invite Friends” link, and make sure you are searching “All Friends” instead of the “Recent Interactions”.
4. Scroll all the way down on the list until your last friend loads.
4. Press CTRL+SHIFT+K on your keyboard, this will open up your web console.
5. Past the following into your web console, then hit enter, verify all your friends get selected and press the “Submit” button.

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

That’s all, enjoy.

There is also a way to do this on Google Chrome, and I belive the key combination is CTRL+SHIFT+J instead.


One comment

  1. I went to use this again and I’ve noticed that all the single quote marks need to be replaced with ‘ – it’s something that WordPress auto-formats when I post sadly.

Leave a Reply