How can I verify a LinkedIn access token?

2019-02-05 07:07发布

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?

2条回答
家丑人穷心不美
2楼-- · 2019-02-05 07:46

Additionally, you can filter the values:

https://api.linkedin.com/v1/people/~:(id,first-name,last-name,headline,picture-url,location,industry,current-share,num-connections,summary,specialties,positions)?format=json&oauth2_access_token={0}
查看更多
看我几分像从前
3楼-- · 2019-02-05 07:49

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 :).

查看更多
登录 后发表回答