LinkedIn profile API returning 403

℡╲_俬逩灬. 提交于 2019-12-13 03:48:28

问题


I'm not a LinkedIn partner - so I got an access token with r_basicprofile scope (and not r_fullprofile which is not available to me). According to the docs - this api requires either r_basicprofile or r_fullprofile. However, I cannot get any of my calls to go through without returning a 403. Any ideas?

https://api.linkedin.com/v2/me

or (all basic profile fields) https://api.linkedin.com/v2/people/(id:{profile ID})?projection=(id,firstName,lastName,industryId~)

Thanks, Mike


回答1:


If you are not a current LinkedIn Partner, you do not have access to our v2 API just yet! Try making a similar request using our v1 API:

https://api.linkedin.com/v1/people/~

See https://developer.linkedin.com/docs/v1/people/profile-api for more information about the Profile API.



来源:https://stackoverflow.com/questions/50358410/linkedin-profile-api-returning-403

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!