LinkedIn v1 API is not available anymore
LinkedIn has closed its V1 API in May 2019. We now need to call /v2/me: https://docs.microsoft.com/fr-fr/linkedin/shared/authentication/authorization-code-flow?context=linkedin/context#step-4-make-authenticated-requests
See also https://auth0.com/docs/migrations/guides/linkedin-api-deprecation