functions-samples
functions-samples copied to clipboard
LinkedIn Auth Sample produces error
Auth code exchange result received after calling
linkedin.people.me(async (error, userResults)
I get the following,
{ errorCode: 0,
message: 'This resource is no longer available under v1 APIs',
requestId: 'OPVJ0MW5W1',
status: 410,
timestamp: 1566539742211 }
Which in result produces
UID " linkedin:undefined "
Not sure if something wrong with your example or the node-linkedin library.
Opened the same ticket with 'node-linkedin'
Found a related ticket on node-linked
https://github.com/ArkeologeN/node-linkedin/issues/88
It seems the library does not support V2 and LinkedIn is blocking all V1 traffic.
This example needs to be updated with v2 usage