tramadol and neurontin

How To Invite ALL Of Your Friends To An Event On Facebook Part 2.

September 8, 2010

Online Marketing

Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/09/4686809/html/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/content/09/4686809/html/wp-includes/wp-db.php on line 1192

Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/09/4686809/html/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/content/09/4686809/html/wp-includes/wp-db.php on line 1192

The old way of doing this doesn’t seem to work anymore.  So here is a new way that you can use.  This was shared to me by Nasif and you can check out his post on his blog if you want.

This is really frustrating for not being able to suggest or invite a facebook group, fan page or application profile page to all your facebook contacts in one click. How do you feel to select 500 friends with 500 mouse click?
The javascript code from John P’s blog worked well when I used it a week back back but tomorrow I noticed that the trick is resting in peace !
I was very much frustrated when I saw the code not working anymore. I decided to resurrect the trick back to life and I am successful in doing that. But don’t know when this trick will get murder again by evil facebook ! :s
There are two ways you can do it.

1. By javascript code and a little bit of stupidity

Click “Suggest to friends” on application profile page or “Invite to friends” on group, fan page or events page.

Right click on any friend and click “open in new tab”

You will land on a page which will only show suggestion window
At this point, paste the following code on to the address bar where the suggestion window is displaying:

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



And there’s an even easier way to select all friends.

2. By using chrome extension known as Facebook Invite All

A million thanks to dawagner who made this wonderful extension. After you have installed this extension you will notice a a new button “Toggle all” on the suggestion or invitation window.

If this post helped you out in anyway make sure to tweet it, share it and click the “like” button below and share the wealth.


facebook comments:

12 Responses to “How To Invite ALL Of Your Friends To An Event On Facebook Part 2.”

  1. Andie Petoskey Says:

    Thanks Brandon!

    I had searched on this before and the java script never worked!

    I finally got it with your information!

    Thank you!

    ~Andie Petoskey

  2. Teach Jim Says:

    Thank you for this great way of helping our friends get connected in more meaningful ways.

  3. brad Says:

    bloody legend mate!

    thank you!



  4. Gabriel Johansson Says:


    This is just AWESOME!

    Thank you for the post,

    Gabriel Johansson

  5. Carl Says:

    On a Mac, in Firefox, a combination of the two techniques is the only thing that worked for me. Rather than opening a new tab (which just sent me to a generic fb homepage), after I clicked the Invite button, I just pasted


    into the top of the browser and it worked. If all else fails, try that.

    Thanks for this!

  6. claudine hellmuth Says:

    what Carl said to do worked for me. I am also on a MAC in firefox :)

  7. wes barnes Says:

    ditto. the short one carl just said worked quickly. vaio chrome

  8. purinda Says:

    Thanks for sharing this!
    I did copy it and saved it for future use!
    Keep rockin’ the net!!!

  9. megan Says:

    This rocks! THANK YOU for the info – major time saver!

  10. jk Says:

    yo brandon –

    firefox/3.6.13, open in new tab = group/event page

    new problem? *wah*

  11. Sam Sinister Says:

    None of the methods work any more, since FB has now changed their scripting AGAIN, as of today. And I don’t think the Facebook Invite All extension is getting an update for it, either.


  1. How To Invite ALL Of Your Friends To An Event On Facebook.. | Brandon Koon Blog - September 8, 2010

    [...] Updated:  9/8/2010   If you can’t get it to work try this new method here. [...]

Leave a Reply