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

How to visit (and add connections) Linkedin profiles from Google Search using iMacros

Discussion in 'Linkedin' started by Carlos TV, Oct 10, 2016.

  1. Carlos TV

    Carlos TV Regular Member

    Joined:
    Jan 19, 2016
    Messages:
    266
    Likes Received:
    67
    Location:
    Spain
    Hi guys,

    I am using iMacros for a long time now and I am in love with this tool. I see a huge potential combining a few tricks.

    For instance, I use it to switch from one Linkedin account to another one by simply executing my Macro. Or as well, I use it to auto-like posts on Linkedin Groups.

    However, I have a huge challenge that I haven't been able to fully automate. But before telling you the issue, I will tell you what I'm currently doing to save some time adding hundreds of relevant connections to my Linkedin accounts - maybe you can help me to do it 100% automatic, I hope so :)

    So, first I Google according to the parameters that I'm interested in, for instance:
    ("Marketing Manager" OR "Director of Marketing" OR "CMO" OR "Chief Marketing Officer" OR "Vice President of Marketing" OR "VP of Marketing" OR "VP Marketing") "Publishing" site:es(.)linkedin(.)com/in/ OR site:es(.)linkedin(.)com/pub/ -site:es(.)linkedin(.)com/pub/dir/ -site:ca(.)linkedin(.)com --->> I have to add ( ) for the dots cause I'm a newbie and the Forum doesn't allow me to include Links to my posts yet.

    Once I have the results I do the following trick:
    1st: Click on Search Settings
    2nd Click on Don't Show Google Instant Results
    3rd Select up to 100 results per page

    Once done that, and previously having installed AutoPagerize (on Chrome), I ran iMacros with a loop of 20x with a Scroll Down Line -->>> url goto=javascript:window.scrollBy(0,20000) so I can see all the Results available on Google for my search.

    Once I have all the results, I use Linkclump to copy to my clipboard all the links to all those Linkedin Profiles that I'm interested in connecting to.

    Then it comes to the code part, my code for this is the following:

    TAB T=1
    SET !ERRORIGNORE YES
    URL GOTO= (this is where I put the URL of the Linkedin profile that I want to connect to)
    WAIT SECONDS=2
    TAG POS=1 TYPE=A ATTR=TXT:Connect
    WAIT SECONDS=2
    TAG POS=1 TYPE=LABEL FORM=ID:iwe-form ATTR=TXT:Friend
    WAIT SECONDS=2
    TAG POS=1 TYPE=INPUT:RADIO FORM=ID:iwe-form ATTR=ID:IF-reason-iweReconnect
    WAIT SECONDS=2
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:iwe-form ATTR=ID:send-invite-button

    You can repeat - by copy pasting - this structure as many times as you want, however you have to change the URL GOTO= part for the next Linkedin Profile extracted from Linkclump.

    Once you have the Code ready, you simply execute it and you will connect with all the Linkedin profiles that you have set up at the URL GOTO= line.

    Now, the issue with this system is that it's not scalable. Because if you want to add 500 connections from the Google Results, you have to edit the URL GOTO= line 500 times with every link that you got from Linkclump - and this is very time consuming.

    If you use iMacros and press record at a Google Result, what it shows on iMacros is a Text result, not a number... For example this one:

    TAG POS=1 TYPE=A ATTR=TXT:Creando<SP>bots<SP>con<SP>Imacros<SP>-<SP>ForoBeta

    However, if someone can help to translate that TXT result to a number that follows a pattern, I can scalate this by simply changing the url goto= linkedin-profile-result-extracted-from-Google to a number so every time the only thing that I will need to do is changing my Google Search and execute the Macros.

    Can someone please help me?!?!?!?!

    Hope you enjoyed my trick!! And I hope that you understood my challenge here.

    Thank you for reading, here you have a lovely potato!! :)

    [​IMG]
     
  2. Craig Douglas

    Craig Douglas Registered Member

    Joined:
    Jan 23, 2017
    Messages:
    53
    Likes Received:
    5
    Occupation:
    marketing coordinator
    Location:
    Phoenix AZ
    What you could do (I think) is paste all the urls into a txt file and call that file with the
    set !datasource c\yourfile.txt
    Command And then all u would have to do is
    Set datasource line 1
    url goto=(col1).


    im not infront of my computer and I'm sure those are not the exact comands but if you google each command I think you will find your solution.
     
  3. The Curator

    The Curator Jr. VIP Jr. VIP

    Joined:
    Dec 27, 2013
    Messages:
    991
    Likes Received:
    380
  4. BrazenBull

    BrazenBull Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    179
    Likes Received:
    84
    Gender:
    Male
    • Thanks Thanks x 1