Open kiloz opened 2 years ago
WORKAROUND:
hack node_modules/linkedin-private-api/dist/src/requests/profile.request.js
replacing : decorationId: 'com.linkedin.voyager.dash.deco.identity.profile.FullProfileWithEntities-35',
<-- generates 400
with: : decorationId: 'com.linkedin.voyager.dash.deco.identity.profile.TopCardSupplementary-86',
<-- 200 OK
It seems that we need to dynamically learn and set the decorationId
key.
FOUND: Running the example provided here: https://github.com/eilonmore/linkedin-private-api/blob/master/examples/profile.ts results in status 400 generated.
EXPECTED: Response with respective profile data types.
Thank you for investigating!