This blog it's not in any way affiliated with Facebook Inc.

New code and trick to invite and recommend to all friends

Many of you have reported to our page that the code to invite friends no longer works after the latest updates on Facebook.

We bring to you 2 exclusive new tricks on which allows you to invite all friends to an event or to suggest a page to all friends.

Invite all your friends to an event

The new code to select all your friends to invite to an event is as follows:

javascript: javascript: var elms = document.getElementsByName (“checkableitems []“); for (var count = 0; count

The code has been tested on Mozilla Firefox and it works at the time of publication. In practice, if it doesn’t automatically select all 100 friends; just repeat the process several times depending on the number of friends you have. (Previously selected friends and former guests will not be selected more than once, then every one hundred new friends will be selected).

Recommend a page to all friends

The opportunity to suggest a page to your friends is now available only to administrators of the page. The following trick is for the Google Chrome browser.

  • Go to your page and click on suggest to friends
  • In the popup window that opens click inside the box with the right button and select “inspect element”


This will open a window displaying the source code of the popup just selected. The code should look for a link that begins with social_graph.php

Once you’ve found the line of code just click the right button and choose “Open in new window


At this point in the address bar of the code, just put the old code to select all your friends:

javascript: fs.select_all ()

Press enter and as if by magic all friends will all be selected.


Republication prohibited. © &

We search, we find, and we post tricks for you! Like us on Facebook, tweet, share, subscribe and spread the word! More tricks = More Fun! Open-mouthed smile

New Check Box option

If you’re having trouble with the two methods above use:

javascript:elms=document.getElementsByName(“checkableitems[]“);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()}

3 years ago by in guides , script | You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.
  • Anonymous

    Doesn’t work anymore: gringotts_redir

  • TricksFacebook team

    To share with text boxs.
    javascript:elms=document.getElementsByName(“checkableitems[]“);for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()}