linkedin-private-api icon indicating copy to clipboard operation
linkedin-private-api copied to clipboard

Always 401 on live Ubuntu server

Open Bltagy opened this issue 4 years ago • 9 comments

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

Bltagy avatar Jul 03 '21 18:07 Bltagy

Can you check the response returned from LinkedIn?

Does it look something like that?:

{
  login_result: 'CHALLENGE',
  challenge_url: ...
}

eilonmore avatar Jul 03 '21 20:07 eilonmore

Yes indeed

Bltagy avatar Jul 06 '21 08:07 Bltagy

What can i do to fix this problem ?

Bltagy avatar Jul 20 '21 18:07 Bltagy

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?

eilonmore avatar Aug 03 '21 06:08 eilonmore

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

rokanost avatar Aug 12 '21 06:08 rokanost

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

PavelZubkov avatar Dec 02 '21 00:12 PavelZubkov

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.

ninesys avatar Apr 20 '23 10:04 ninesys