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

Google + 1 Imacros script.

Discussion in 'Social Networking Sites' started by Iloveharibo123, Aug 25, 2014.

  1. Iloveharibo123

    Iloveharibo123 Newbie

    Joined:
    Aug 25, 2014
    Messages:
    4
    Likes Received:
    0
    I just started using Imacros and for my first project I am trying to make Google + 1 bot to rate my comments on YouTube. So far I have managed to make a bot that links to the comment, signs into a YouTube account, hits Google + 1 then signs out and repeats the process.

    The problem is, I have to link to the comment each time I sign into a new account. So when I want to add a new comment I have to edit the macro and paste the link of the new comment each time it signs in. So if I wanted 30 likes I would have to paste the new link into the macro 30 times each time I want a new comment. (Hope this makes sense)

    This makes the bot pretty useless because I can just link all my YouTube accounts together and like the comments myself in almost the same time.

    So, I was wondering if there is a way I can make the bot so I only need to enter the URL of the comment once in the macro each time I want a new comment? I just want it to sign into an account, google + 1 the comment then sign out and repeat the process but only have to link to the comment once in the macro. I am not sure if this is possible, but if anyone could help me out I would really appreciate it and will be happy to share the bot once its done.

    Thanks :)
     
    Last edited: Aug 25, 2014
  2. Bot Solutions

    Bot Solutions Regular Member

    Joined:
    Aug 19, 2014
    Messages:
    215
    Likes Received:
    361
    Occupation:
    Bot maker
    Location:
    Hungary
    Home Page:
    Check out my giveaway thread OP. :)
    I wrote it in Imacros and Javascript

    And probably you are not writing scripts, but macros.
    macro != script
     
    • Thanks Thanks x 1
  3. Iloveharibo123

    Iloveharibo123 Newbie

    Joined:
    Aug 25, 2014
    Messages:
    4
    Likes Received:
    0
    Haha I didn't know if I should write macros or script, like I said I am noob to this. Thanks for clearing that up though :)

    Your giveaway looks awesome and I will try it out, but I will still try to make something myself for when you stop doing it.

    Could you give me any tips for making the bot so I only need to add the URL in the macros once?

    Thanks :)
     
  4. Bot Solutions

    Bot Solutions Regular Member

    Joined:
    Aug 19, 2014
    Messages:
    215
    Likes Received:
    361
    Occupation:
    Bot maker
    Location:
    Hungary
    Home Page:
    Probably you already use a datasource for the accounts, so create a new one and include it in your macro. (of course adjust the variable to yourself)

    Code:
    set numberOfUrls 5
    'This variable for how many lines in your url datasource
    set !loop 0
    set !datasource urls.csv
    set !datasource_line eval(" '{{!loop}}' - ( (Math.floor ( '{{!loop}}' / ('{{numberOfUrls}}') ) ) * '{{numberOfUrls}}') + 1; ")
    set url {{!col1}}
    'your datasource line will be changing like this: 1 2 3 4 5 1 2 3 4 5 etc etc
    set !datasource accounts.txt
    set !datasource_line eval(" Math.floor( '{{!loop}}' / '{{number_of_urls}}') + 1; ")
    'your datasource line will be changing like this: 1 1 1 1 1 2 2 2 2 2 etc etc
    
    I hope that makes sense
     
    • Thanks Thanks x 2
  5. Iloveharibo123

    Iloveharibo123 Newbie

    Joined:
    Aug 25, 2014
    Messages:
    4
    Likes Received:
    0
    I guess I have a lot to learn because none of that makes sense to me xD

    This is what I have so far -

    VERSION BUILD=8820413 RECORDER=FX
    TAB T=1
    URL GOTO=about:newtab
    URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
    TAG POS=1 TYPE=A ATTR=ID:gb_70
    TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
    TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
    SET !ENCRYPTION NO
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ID:gaia_loginform ATTR=ID:passwd CONTENT=nast
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
    TAG POS=2 TYPE=SPAN ATTR=TXT:1
    TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
    TAG POS=1 TYPE=A ATTR=ID:gb_71
    TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
    TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ID:gaia_loginform ATTR=ID:passwd CONTENT=Berk
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
    URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
    TAG POS=2 TYPE=SPAN ATTR=TXT:1
    TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
    TAG POS=1 TYPE=A ATTR=ID:gb_71
    TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
    TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ID:gaia_loginform ATTR=ID:passwd CONTENT=pass
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
    URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
    TAG POS=2 TYPE=SPAN ATTR=TXT:2
    TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
    TAG POS=1 TYPE=A ATTR=ID:gb_71

    As you can see it just goes to the comment, signs into an account then likes it and repeats. Is there anyway I could simplify it (for a complete noob) so I would only have to you use the comment URL once?

    Thanks for your help so far