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

[HELP] Need Help with facebook auto clicker

Discussion in 'Visual Basic .NET' started by R43LB0T, Jun 24, 2015.

  1. R43LB0T

    R43LB0T Newbie

    Joined:
    Jun 24, 2015
    Messages:
    2
    Likes Received:
    2
    Hey

    Working vb 2010 and have a facebook auto clicker, it auto logs in and goes to a fan page but when it comes to click like button, it returns in an error its something to do with the button id in the facebook script, viewed source and have the correct id as displayed but still returns in an error, cant be the clicker script because it works for sign in and input values, the only one it dont work on is the like.

    Code:
    WebKitBrowser1.StringByEvaluatingJavaScriptFromString("javascript:void(document.getElementById('u_0_v').click())")
    any help would be great :)
     
  2. Dev Warrior

    Dev Warrior Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2015
    Messages:
    252
    Likes Received:
    30
    Home Page:
  3. Netro

    Netro Junior Member

    Joined:
    Jun 12, 2015
    Messages:
    107
    Likes Received:
    27
    Occupation:
    Baka Dev.
    What exactly represent that ID? That is the class name. So basically you call getElementById method for a class name... Lol!

    This is the right id which needs to be clicked: 'pagesHeaderLikeButton'
     
    Last edited: May 1, 2016
  4. Netro

    Netro Junior Member

    Joined:
    Jun 12, 2015
    Messages:
    107
    Likes Received:
    27
    Occupation:
    Baka Dev.
    //. Sorry for double post. I thought I was editing my above post.
     
    Last edited: May 1, 2016