LinkedIn bot

Discussion in 'Scripting' started by JerryWoodburn, Oct 24, 2016.

  1. JerryWoodburn

    JerryWoodburn Newbie

    Joined:
    Oct 23, 2016
    Messages:
    20
    Likes Received:
    0
    Gender:
    Male
    Hi guys

    I am interested in creating BOTs in my spare time,and i found out that linkedIn would be interesting.
    Which functions would need the bot have,to be usable ? (i dont know LinkedIn much,so asking)

    Any ideas,on what to focus? Just adding random contacts is boring,i am looking for something more complex.
    Thanks for ideas!
     
  2. yaew

    yaew BANNED BANNED

    Joined:
    Oct 30, 2016
    Messages:
    34
    Likes Received:
    0
    thanks
     
  3. starikrae

    starikrae Newbie

    Joined:
    Mar 27, 2015
    Messages:
    7
    Likes Received:
    0
    Something that will attract profile views - which seems to be the goal of linkedin. So maybe "likes", "posts", "comments" -- much like any other social media bot i guess

    I'd be interested if you build it! Good luck!
     
  4. Cem

    Cem Newbie

    Joined:
    Mar 2, 2018
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    While exploring i found some script that only sends connection requests for Linkedin, user manual is go to linkedin.com/mynetwork on chrome and ctrl+shift+i and paste this.
    Code:
    var countOfPagesScrolled = 5;
    
    function scrollDown(height, countOfPagesScrolled){
        scroll(0, document.body.clientHeight);
        setTimeout(function(){
            if(height != document.body.clientHeight && countOfPagesScrolled > 0){
                scrollDown(document.body.clientHeight, --countOfPagesScrolled);
            }else
                return sendRequest();
        }, 1500);
    }
    
    function sendRequest(){
        var contactsNum = 0;
        jQuery.each( $('.button-secondary-small'),     function() {
            contactsNum++;
            $(this).click();
            console.log($(this).attr('title') + ' ' + contactsNum);
        });
        console.log('Just added contacts: ' + contactsNum);
    }
    
    scrollDown(document.body.clientHeight, countOfPagesScrolled);