eilonmore / linkedin-private-api

LinkedIn NodeJS API, written in TypeScript.
MIT License
266 stars 79 forks source link

Always 401 on live Ubuntu server #199

Open Bltagy opened 3 years ago

Bltagy commented 3 years ago

I worked locally great but didn't work on liver Ubuntu server, why ?

eilonmore commented 3 years ago

Can you check the response returned from LinkedIn?

Does it look something like that?:

{
  login_result: 'CHALLENGE',
  challenge_url: ...
}
Bltagy commented 3 years ago

Yes indeed

Bltagy commented 3 years ago

What can i do to fix this problem ?

eilonmore commented 3 years ago

It's LinkedIn's security mechanism that recognizes this request as a suspicious bot request. I have no way to handle the challenge. But we need to explore why it suspects the request in the first place. Any easy way to reproduce it?

rokanost commented 3 years ago

https://github.com/everping/Linkedin-Authentication-Challenge

PavelZubkov commented 3 years ago

https://www.linkedin.com/legal/l/cookie-table How many safety features are there

ninesys commented 1 year ago

I just write the NPM for the above python package.

https://www.npmjs.com/package/linkedin-auth-challenge

Now you can use this module with node server.