How To Make Your Facebook Fan Page Go Viral, Invite All Friends

One of the easiest way to get people to join your Facebook Fan page is to invite all your current Facebook friends to join. However, the process can be quite time consuming if you have a lot of friends. I have over 4,000 friends on Facebook. To invite everyone of them to join my Fan page means I have to manually select everyone, which I estimate would take over two hours. Here’s a little trick that was shown to me by Michael Yurechko that will allow you to select all your Facebook friends automatically.

Tell Your Friends About My Fan Page

The best way to demo how this system works is to have you actually do it by inviting your Facebook friends to join my Fan page. Go to my Fan page and click the “Suggest to friends” link. This will bring up a pop up box with a list of your friends to invite. Normally, you would have to manually select everyone on your list. However, enter the following line of code into your browser’s URL field and it will automatically select all your friends.

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

Select All Friends On Facebook

If you have a lot of friend, it may take a minute or two before everyone gets selected. Now, just hit the “Send Invitation” button and an invite will go to your friends asking them to become a fan of John Chow dot Com. That’s it, you’re done! You can use this for any Facebook invite. Have a big party you want to promote? Use this to send everyone an invite!

If you’ve found this post helpful, then please send an invite to all your Facebook friends and tell them to become my fan. It’s really easy. Just follow the steps above. 🙂

*Update – Wouldn’t you know it? Shortly after I wrote this post, Facebook disabled the select all script. Maybe I should have kept quiet about it.

42 thoughts on “How To Make Your Facebook Fan Page Go Viral, Invite All Friends”

  1. x10android says:

    What God didn’t give you in looks he sure gave you in brains. Good man.

  2. That is really creative. Nice way around the system.

    1. It was……the system has taken note of the flaw in its design and eliminated this loophole 🙁

  3. Michael Kwan says:

    Heh. Nice trick.

    I recently broke 100 fans on my Beyond the Rhetoric Facebook page. Just asking your friends to join can work wonders.

  4. Thanks for the info. interestign little trick

  5. Nathan Rufus says:

    Anything that can save time is always welcome in my business.

    Thank you John for the heads up.

    Thing is some people, and I think that this is becoming a bit of a trend as I’ve seen alot of marketers do this recently, like to keep their personal profile and their fan pages separate.

    It’s just a matter of preference.

    Thanks for the tip and code.

  6. Nick says:

    Thanks for the post John. This code will save my time.

  7. Joe Tech says:

    John! Just Friday, I invited 908 friends on Facebook to my company’s new page and had to do it manually. At least I’ll have this trick for next time.

    1. John Chow says:

      Why not try it now by inviting all your 908 friends to join my fan page? 🙂

      1. jtGraphic says:

        LOL – Shameless…

  8. ibnujusup says:

    its only apply to celebrity like u john 🙂

  9. Dane says:

    I have tried this on 4 different computers with no result. Does this work on the new facebook?

    1. John Chow says:

      Yes, I used it last night to invite all my friends to my fan page.

  10. This trick has been around and has been used for many months now (probably even longer). Take a look at all the fan pages for Mafia Wars related crap. Every single one has a step by step telling members to do this.

    I expected more from you Mr. Chow… Got any NEW tricks?

    1. John Chow says:

      Sure but it’s going to cost you money to get it. 🙂

  11. Is this platform / browser specific? don’t seem to get it to work on Safari on my Macs .. now trying w/ Firefox which loves to crash when you have loads of friends .. 🙁

    1. John Chow says:

      I used it on Chrome for Mac without any problem. On my Firefox, it hung. Haven’t tried it with Safari.

      1. yep .. chrome was the key ..
        I figured the script would come to an end very soon after most of your readers will try it ..

        I decided to create some ‘lists’ using the script ..
        now I can use those lists for future invites

        thx for the time saver ..

    2. John Chow says:

      Looks like Facebook made some changes so the script no longer works. I guess I should have kept quiet about it, huh?

      1. Max says:

        You ruined it for a lot of people John, lost a lot of respect for you..

        You post something 70k + marketers latch onto the idea, please try and think of the little guys..

        1. lol…John did nothing wrong. Don’t be upset with him.

  12. fas says:

    Damn you John, I have been silently using this for sometime now.

  13. Blogger Kat says:

    To bad the script doesn’t work any more. It sounded like a great time saver!

  14. Warren says:

    Hmm…. last to find out again!

    Going to have to make sure I’m reading first thing in the morning! 🙂

    1. jtGraphic says:

      Just subscribe to the RSS feed via your mail program and check it with your email – works wonders for me – until I get behind…

  15. Paul says:

    Why even allow script on your site if you are just going to disable it when people use it?

  16. jtGraphic says:

    I’ll invite my 600 friends to become a fan of if you invite 600 friends of yours to subscribe to my blog.

  17. aatif says:

    i will use it . it seems great .

  18. Why would we add our friends to your Facebook fan page John. Why not add your friends to my fan page? Help me get a head start.

  19. surozo says:

    It seems good to be tried, ha ha ha

  20. proson says:

    John this doesn’t work any more. As Facebook is changing its policy where the upper limit of one can share an app or page to theirs friends are probably 8.

    Also the little invite script that used to work in Facebook fan page isn’t working and I am asking on how to make it work.

    Hopes to get back to you soon

    1. John already updated saying it no longer works.

  21. Makis Arvo says:

    John, this method is still working for me. I don’t know if Facebook has done another change to their site since the last layout change, but this definitely still works! I’ve posted a tutorial on my blog showing 2 methods of how to accomplish this task. Could you please redirect your users to my site so they can once again take advantage of this trick? I have revised your method and have also given an alternative method using Greasemonkey for FireFox. Please read about it here:

    Hope this can be of use to both you and your following!

  22. hahaha… you should share about it in your newsletter John.

  23. Kurt says:

    too cool there. I like that tip. never thought about that for a facebook fan page.

  24. Tom says:

    Still works if you use Chrome browser.

Comments are closed.