Back to Blog Listing
Facebook: Invite All Friends Code
Ok, if you’ve spent any time inviting friends on Facebook to become a fan of something, you know it can take forever. Here’s some quick instructions on how to invite all your friends instantly.
- Click “Suggest Friends” under the profile image.
- If you’re using Firefox, Chrome, or Safari as your browser, copy this code:
- javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
- Paste it into your browser’s address bar and hit enter on your keyboard.
If you’re using IE, you still have to click all your friends manually.
That’s it. Hope this helps.
Related Posts
3 Comments
→
Nice tip, Paul… I did not know that. Just another reason to not use IE
Update: You can use this code as well if the one above isn’t working for you:
javascript:fs.select_all();
Hey just wanted to give you a quick heads up. The text in your article seem to be running off the screen in Internet explorer. I’m not sure if this is a format issue or something to do with internet browser compatibility but I figured I’d post to let you know. The layout look great though! Hope you get the issue fixed soon. Many thanks