1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook javascript code

Discussion in 'FaceBook' started by mariahm, Sep 12, 2010.

Tags:
  1. mariahm

    mariahm Newbie

    Joined:
    Jan 15, 2010
    Messages:
    4
    Likes Received:
    0
    Occupation:
    business owner of an SEO company
    Location:
    canada
    So I noticed that the javascript code that you can use to mass suggest a page to friends is not working anymore.

    This is the code: javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

    Does anyone know of a trick to suggest a page to all your friends?

    Thanks!
     
  2. kajol085

    kajol085 BANNED BANNED

    Joined:
    Dec 26, 2009
    Messages:
    94
    Likes Received:
    2
    Yes I know that.and I can do it:-D
     
  3. mina2020

    mina2020 Junior Member

    Joined:
    Mar 22, 2009
    Messages:
    137
    Likes Received:
    28
    Occupation:
    IM
    Location:
    Egypt
    Click on "suggest to friends"

    a window will pop up

    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 and press enter:
    Code:
    [COLOR=#ff6347][B]javascript:fs.select_all();[/B][/COLOR]
     
    • Thanks Thanks x 1
  4. fbpages

    fbpages BANNED BANNED

    Joined:
    Apr 17, 2010
    Messages:
    96
    Likes Received:
    11
    let me test it =]
     
  5. deedee1whoa

    deedee1whoa Power Member

    Joined:
    Aug 23, 2010
    Messages:
    593
    Likes Received:
    302
    Occupation:
    Student
    That is working! :)
     
  6. hatena

    hatena Registered Member

    Joined:
    Aug 22, 2010
    Messages:
    68
    Likes Received:
    2
    Occupation:
    professional bum
    Location:
    mui mui house
    nope its not working. try opening the frame to the other tab again and you'll see what i mean
     
  7. deedee1whoa

    deedee1whoa Power Member

    Joined:
    Aug 23, 2010
    Messages:
    593
    Likes Received:
    302
    Occupation:
    Student
    Well, when the box is alone, on it's own

    in the window it's working perfectly to me.
     
  8. mina2020

    mina2020 Junior Member

    Joined:
    Mar 22, 2009
    Messages:
    137
    Likes Received:
    28
    Occupation:
    IM
    Location:
    Egypt
    it is working good
    try it again :)
     
  9. mariahm

    mariahm Newbie

    Joined:
    Jan 15, 2010
    Messages:
    4
    Likes Received:
    0
    Occupation:
    business owner of an SEO company
    Location:
    canada
    Thanks! It does work.
     
  10. limopk

    limopk Newbie

    Joined:
    Aug 19, 2008
    Messages:
    7
    Likes Received:
    0
    not no more :[
     
  11. Whatthe?

    Whatthe? Junior Member

    Joined:
    Mar 22, 2010
    Messages:
    119
    Likes Received:
    34
    Location:
    Any Where but HERE
    Any other way of doing this now?
     
  12. youss

    youss Registered Member

    Joined:
    Jul 7, 2010
    Messages:
    51
    Likes Received:
    5
    Occupation:
    Facebook events.
    Location:
    Copenhagen, Denmark.
    Not as far as i know. I'm having a scriptguy looking at it now.
     
  13. limopk

    limopk Newbie

    Joined:
    Aug 19, 2008
    Messages:
    7
    Likes Received:
    0
    good luck youss! :)
     
  14. mfiii

    mfiii Regular Member

    Joined:
    May 16, 2010
    Messages:
    443
    Likes Received:
    42
    Chrome has an excellent addon for this :)
     
  15. youss

    youss Registered Member

    Joined:
    Jul 7, 2010
    Messages:
    51
    Likes Received:
    5
    Occupation:
    Facebook events.
    Location:
    Copenhagen, Denmark.
    whats the addon called?
     
  16. seodeveloper07

    seodeveloper07 Junior Member

    Joined:
    Jul 3, 2010
    Messages:
    113
    Likes Received:
    135
    Occupation:
    Online earning
    Location:
    http://itearn.com
    nice pose. thank you.
     
  17. harjot

    harjot Newbie

    Joined:
    Aug 23, 2010
    Messages:
    27
    Likes Received:
    0
    Location:
    Somewhere in the UK
    Chrome has a pretty good addon, but for all those firefox users, get greasemonkey and install this script: hxxp://userscripts.org/scripts/show/70384 :D (remember to change hxxp to h t t p)
     
  18. Long.30naga

    Long.30naga Registered Member

    Joined:
    Oct 21, 2010
    Messages:
    82
    Likes Received:
    119
    Location:
    In Your Head
    I tried your tactic but it seems not working anymore:

    Using Chrome: Click suggest page - Right click on any friends and open in new tab. (Goes back to the Fanpage)

    Using Google: Click suggest page - Right click on any friends and open in new tab. (Goes to your personal Page)
    ____________________________________________________

    Since OP said that the javascript tactic are not working anymore, so i tried the javascript (in Chrome) and surprisingly it is still working... :confused:

    I have few account so i simply test it and when i open my other account, i saw 'You have 1 Page Suggestion' which is the page that i invite.

    Code:
    javascript:elms=document.getElementById('friends').getElementsB
    yTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object')
    {fs.click(elms[fid]);}}
     
  19. usama18

    usama18 Jr. VIP Jr. VIP

    Joined:
    Oct 17, 2010
    Messages:
    585
    Likes Received:
    165
    Gender:
    Male
    Occupation:
    Engineer
    Location:
    Amazon
    Yes Google chrome Addon Rocks I love that . It works only on chrome.
     
  20. dmed123

    dmed123 Junior Member

    Joined:
    Aug 16, 2008
    Messages:
    171
    Likes Received:
    125
    @Long.30naga Thanks for the tip that actually works pretty well. Did for me today.

    I've noticed that fan pages that have don't have auto approval of fans will have a 50 suggest to fan limit? Is that true. I've tried others and worked fine but the one with manual approval will not allow me to suggest to all my friends once I'm friends with it but other fan pages with auto-approve will allow me to suggest all my friends.