hello.js
hello.js copied to clipboard
LinkedIn and v2 of their API
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?
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.
Is there still interest here to migrate to v2?
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/