Socket
Book a DemoInstallSign in
Socket

@busshi/linkedin-private-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@busshi/linkedin-private-api

Forked version of [this API](https://github.com/eilonmore/linkedin-private-api) but with additionnal functionnalities waiting for the author to merge the [pull request](https://github.com/eilonmore/linkedin-private-api/pull/473)

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NodeJS LinkedIn API

Forked version of this API but with additionnal functionnalities waiting for the author to merge the pull request

Installation

yarn add @busshi/linkedin-private-api

Examples

import { Client } from "@busshi/linkedin-private-api";

const receivedScroller = client.invitation.getReceivedInvitations();
const receivedInvitations = await receivedScroller.scrollNext();

for (const invit of receivedInvitations) {
    const { entityUrn, profile, sharedSecret } = invit;
    const { profileId } = profile;
    const invitationId = entityUrn.split(":")[3];

    await client.invitation.replyInvitation({
        invitationId,
        invitationSharedSecret: sharedSecret,
    });
}  
const conversation = await client.conversation.markConversationAsRead({
      conversationId,
});
console.log(conversation);

Notes

Made for learning purposes.

Keywords

linkedin-nodejs-api

FAQs

Package last updated on 05 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.