linkedin-api

How can I verify a LinkedIn access token?


How can I verify a LinkedIn access token?

I need to check if an access token is valid or not?

ex: in Facebook

https://graph.facebook.com/me?access_token=access_token

Is there a similar way to do it in LinkedIn?


Solution

  • I found that it can be done like this:

    https://api.linkedin.com/v1/people/~?oauth2_access_token=YOUR-ACCESS-TOKEN
    

    and that's it :).