hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

LinkedIn and v2 of their API

Open danielzev opened this issue 6 years ago • 3 comments

Hi @MrSwitch

Have you seen this from the LInkedIn team?

https://engineering.linkedin.com/blog/2018/12/developer-program-updates

Are their plans on updating the

base: 'https://api.linkedin.com/v1/',

to use the v2 of their API?

danielzev avatar Dec 30 '18 23:12 danielzev

Can we prioritize this issue? The linkedin v1 APIs is now deprecated (since March 1, 2019).

This is what happens when I try to get my linkedin profile:

GET https://api.linkedin.com/v1/people/~:(picture-url,first-name,last-name,id,formatted-name,email-address)?callback=_hellojs_5lecqnf&oauth2_access_token=...

/**/_hellojs_5lecqnf({
  "errorCode": 0,
  "message": "This resource is no longer available under v1 APIs",
  "requestId": "H7T43ESP9X",
  "status": 410,
  "timestamp": 1567745122900
})

To whoever wants to take on this issue, the v2 migration guide is available here.

karthicks avatar Sep 06 '19 05:09 karthicks

Is there still interest here to migrate to v2?

cbleek avatar May 08 '21 15:05 cbleek

perhaps nothing needs to be migrated at all. Here you can see how LinkedIn can be used with hellojs

https://gitlab.com/yawik/applicationform/-/blob/master/src/components/SocialData.vue#L64-89

You can see the code in Action at:

https://form.yawik.org/

cbleek avatar May 27 '21 09:05 cbleek