Coder Social home page Coder Social logo

linkedin-private-api's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar eilonmore avatar ikupenov avatar stpoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linkedin-private-api's Issues

Basic data from getProfile function results

After client.profile.getProfile() called, the json result is huge but basic info are not readable...
like:
'*profileEducations': 'urn:li:collectionResponse:jbS7v/aiGf+n48yZ43Ev0e9BPKSkfWZWLisSWcr5P4A=',

Experience is not showing at all..

Add support to add a note when sending an invitation

Add support to add a note when sending an invitation, because improves the success when adding new connections.
Can we support this? Also I can make a pull request if there is a simple way of adding this feature.

Sales API - search profiles

As a follow-up to #300
We would like to add support for searching profiles through the Sales API.
@ikupenov has already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Post Linkedin Blog Article

Hello @eilonmore ,
First, congratulation for this library.
I am currently trying to understand how I can post a Blog Article (not a Post, which the number of word is limited whereas Blog Article is not) on Linkedin (and particularly for a Company page, not for a personnal). I have tried to read the Linkedin API developper page, but I don't find it very clear reagarding Blog Article post (yet quite clear regarding Post).
Do you have any idea where is the endpoint to post Blog Article (not Post) ?

Obtain feed posts

Is it possible to obtain the posts that are outlined in the home feed?

How to get own profile full resume in fr_FR and en_US

Hi @eilonmore , thanks for sharing this.

I am currently doing my own resume builder and I am testing const profile = await client.profile.getOwnProfile();

This work great to find the profile information in the two languages I am maintaining, however, I have not found a way to retrieve my full resume (in the same languages),

It seems that the experiences are not included in the profile, is that possible?

Lastly, I am looking at https://www.npmjs.com/package/linkedin-profile-scraper , and both together seems to give me the desired results, however, this required to get the LI_AT cookie value, is there a way (or a possible way) I can retrieve it from this lib after calling login.userPass?

Kindly,

How to reply in a specific conversation?

I want to reply in a specific conversation.

There are cases where I have multiple conversations with the same person.

How can I reply to a specific conversation by using conversation id?

Searching issue

How to search for specific country like India,and can we use this for not a well known company which can be tier-3 or early edge startup how to find company ids and country id??

Sales API - send message

As a follow-up to #300
We would like to add support for sending a message through the Sales API.
@ikupenov has already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Sales API - send a connection request

As a follow-up to #300
We would like to add support for sending a connection request through the Sales API.
@ikupenov already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Sales API - fetch locations

As a follow-up to #300
We would like to add support for fetching locations through the Sales API.
@ikupenov has already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Sales API - search job titles

As a follow-up to #300
We would like to add support for searching job titles through the Sales API.
@ikupenov has already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Question about blocking

Hi! Thanks for the cool job.

Have you tested how fast linkdein bans an account when you use its api intensively?

Sales API - fetch profile

As a follow-up to #300
We would like to add support for fetching a profile through the Sales API.
@ikupenov has already placed the foundations.

Definition Of Done

  • Request
  • Repository
  • Tests
  • Example usage
  • Docs

Search filters

Is it possible to add in searchFilters in the searchPeople call the user profileId?

Support starting a new conversation

As for now, you can only send messages to existing conversations.
I want to add the ability to start a new conversation with any profile.

פרטים אישיים וסיסמא

שלום רב,
אני חדש כאן.
במידה ואני רוצה להשיג סיסמה לצורך דוח מידענות של פרופיל פייסבוק איך אני מגיע לזה ?
תודה מראש על התשובה.

TLS issue with proxy?

Anytime I pass in valid proxy params I get the error

Client network socket disconnected before secure TLS connection was established

Tried changing it so it passes the proxy params into the request method too but same issue. The proxies I'm testing with are 100% working, and I'm definitely passing in the host, port, and auth data in correctly. I've tried setting the protocol as well but still having this issue.

It looks like it's more of an axios issue but wondering if anyone knows what might be going on?

Error: Request failed with status code 401

I always receive this error, no matter what I try, my login credentials are correct though...

Code:

const username = process.env.NEXT_PUBLIC_LINKEDIN_USERNAME;
const password = process.env.NEXT_PUBLIC_LINKEDIN_PASSWORD;

const client = new Client();
await client.login.userPass({ username: username, password: password });

const jobsScroller = await client.search.searchJobs({
    keywords: 'React',
    filters: { location: 'Switzerland' },
    limit: 20,
    skip: 5,
});

const [someReactJobHit] = await jobsScroller.scrollNext();

console.log(someReactJobHit);

Getting different results in a service worker?

I've been able to get this to work properly via node. But when I try to run it via a service worker in a chrome extension the request succeeds but the results are totally different. For example, there are always 0 search results when calling searchOwnConnections. Any idea why?

calling `sendInvitations()` always results in a `403` status and a security challenge

I'm trying to send an automated invite via sendInvitation() method, but this always results in a 403 response from LinkedIn API with a security challenge link.

I'll add that the login method works fine, also I can call Search People API, which works, but data is partly anonymized (user public identifier and profile link are set to UNKNOWN values, profile.fistName and profile.lastName are set to empty strings).

I'm wondering if anyone encountered similar issues?

Library version: v1.1.1
Node version: v14.17.6

Steps to reproduce:

import { Client } from "linkedin-private-api";

const username = process.env.USERNAME as string;
const password = process.env.PASSWORD as string;
const profileId = process.env.PROFILE_ID as string;
const trackingId = process.env.TRACKING_ID as string;

async function main() {
  try {
    const client = new Client();
    await client.login.userPass({
      username,
      password,
    });

    await client.invitation.sendInvitation({
      profileId,
      trackingId,
    });
  } catch (err) {
    console.log(err.response.data);
  }
}

main();

searchOwnConnections reached skip limit of 950

Hi,
I am not able to scroll on all connections. when I put a skip bigger than 950 the searchOwnConnections returns an empty list.
Is there a way to scroll over all connections?
Also, if there is a way to fork the repo and modify it inorder to achieve more covered connections, please tell me.

Login with different users

Is it possible to login with different users or when I use this library It always tries to connect with only one user?
I login successfully with my account, but it doesn't work with other accounts.
I receive 401 and this message in the error:


    data: {
      login_result: 'CHALLENGE',
      challenge_url: 'https://www.linkedin.com/checkpoint/lg/direct-login-submit?addDetailedLoginResult=add&dropLiatCookie=drop&csrfToken=ajax%3A4089481443116134801&pSIdString=525b61a1-eae3-40b8-81cc-7896ef76cba2&ut=14jKJFYsFWWak1'
    }

It doesn't login even with useCache: false.

Thanks in advance,

get contact details of profile

is it possible to get the contact details if the profile provides them? I noticed getProfile doesn't include the users contact details (email, website, etc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.