Automatically Invite All Your Friends To Your Facebook Pages, Groups Or Events

This is really a powerful tool, because clicking every friends one by one is a really tedious job.
1.In Mozilla Firefox, go to your Event, Group or page and click “Invite People”.

2.Once the page has loaded you should see all of your friends, but they are not selected.

3.At this point, copy and paste the java script code below into your Web browser’s address bar, then hit “Enter”.

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


javascript:fs.select_all();return false;

4.If all goes well, it selects all of your friends! Now Click Send Invitations, and you’re done!

Easy as that, and it just took 1 second to invite all your friends. Wow!

I had test this JavaScript with Google Chrome and it works.

Don’t forget to Join Us on Facebook:

The following two tabs change content below.

Azad Shaikh

Azad Shaikh is an internet geek at heart. Azad like to write about anything related to computers, internet, hacking, business and marketing. He is a computer engineering graduate and certified ethical hacker.
  • Yasin

    Dint worked for me? I used Mozilla. 🙁

  • Aki

    Dont work for me
    I’m using chrome

    I Badly need a code

    Clicking 32 000 times isnt that easy for me lol

    • Azad Shaikh

      javascript:fs.select_all();return false;

      I used above code with chrome and it still work. copy/paste in your address bar and hit enter it should work.

  • Jovan

    I tried this code just now, in Chrome, and it doesn’t work.

    Tried both variations!

    • Azad Shaikh

      Facebook had changed it. But I still have a way to select all friends for suggesting fb page.

      • Jovan

        Can you share it with the rest of us?

  • Rock

    Do not work.I tried many time but do not work it……….

  • adam

    You are liar!