1.3.6 • Published 10 months ago

auto-linkedin v1.3.6

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
10 months ago

Auto Linkedin

Auto LinkedIn

Auto LinkedIn is a project that provides automation for LinkedIn using Node.js and Puppeteer. This project helps you save time by automating various tasks on LinkedIn.

Check out the the wiki for details.

Check out the desktop app

Important Note

Use at your own discretion. Do not spam people with this. We discourage any stalkerware, bulk or automated messaging usage.

Features

  • Sign in functionalities
  • Search user profiles with keywords, network distance etc.
  • Sending messages and getting history
  • Sending connection requests
  • Visit profiles
  • Company invitations

Installation

Prerequisites

  • Make sure you have Node.js and npm installed. Node.js Installation
  • Puppeteer library is used, which requires Chrome browser for automation.

Installation Steps

  1. Create a new directory
mkdir linkedinAutomationProject
cd linkedinAutomationProject
  1. Install NPM
npm init -y
  1. Install package:
npm install auto-linkedin

Methods and objects

ClassMethodExplanationPublish Version
LinkedinloginAuthentication for linkedin1.0.0
LinkedincloseClose the client and browser1.3.1
LinkedinsearchPeopleFind people from search1.0.0
LinkedingetLastConnectionsFind latest connected people1.1.3
LinkedingetMyProfileGet self profile details1.3.4
LinkedingetMyCompanyGet owned company1.1.3
LinkedingetBrowserGet client's puppeteer browser1.3.1
LinkedinProfilegetProfileGet profile from url or id1.2.0
LinkedinProfilesendMessageSend message to a profile1.3.0
LinkedinProfilegetMessageHistoryGet history of messages1.3.0
LinkedinProfilevisitProfileVisit user's profile for a while1.1.0
LinkedinProfileconnectionRequestSend connection request1.1.0
LinkedinCompanyfetchDetailsFetch details of owned company1.1.3
LinkedinCompanysendInviteSend invitation to a user1.1.3

Usage

  1. Create a linkedin client and login:
const { LinkedIn } = require('auto-linkedin')

const client = new LinkedIn()
await client.login(process.env.USERNAME, process.env.PASSWORD)

//-- Console
// [TASK] Login
//   New Browser created.
//   Login completed.

Follow the console even though there is an extra instruction.

Usage with ES6

import { LinkedIn } from 'auto-linkedin'

const client = new LinkedIn()
await client.login(process.env.USERNAME, process.env.PASSWORD)

//-- Console
// [TASK] Login
//   New Browser created.
//   Login completed.
  1. Search for users with keyword and 2. network distance (200 limit):
const profiles = await client.searchPeople({
   keywords: 'venture capital',
   network: ['S']
}, 200)

// profiles = [LinkedinProfile, LinkedinProfile, ...]

//-- Console
// [TASK] Search People: 200 ({"keywords":"venture capital","network":["S"]})
//   Page: 1/30 -> 10
//   Page: 2/30 -> 10
//   Page: 3/30 -> 10
//   Page: 4/30 -> 10
// ....
//   Search complete: 200

You can use profile methods or access properties like name, url, title etc.

  1. Send connection request with a note:
for (let p of profiles) {
   await p.connectionRequest(client, 'Hi! Please accept my request')
}

//-- Console
// [TASK] Conection request: Test User - test-user
//   Connection request send to Test User (test-user)
//....

Contact

For any questions or feedback about the project, please contact us through GitHub or emir@akatron.net

Contributions

If you would like to contribute, please feel free to submit a pull request. We welcome any contributions!

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

1.3.6

10 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.3.3

10 months ago

1.3.2

10 months ago

1.2.0

1 year ago

1.1.4

1 year ago

1.3.1

12 months ago

1.3.0

12 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago