LinkedIn个人资料API返回403 [英] LinkedIn profile API returning 403

查看:81
本文介绍了LinkedIn个人资料API返回403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是LinkedIn合作伙伴-因此我获得了具有r_basicprofile范围的访问令牌(而不是我无法使用的r_fullprofile). 根据文档-此api需要r_basicprofile或r_fullprofile.但是,如果不返回403,就无法接听任何电话.有什么想法吗?

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

或(所有基本配置文件字段) https://api.linkedin.com/v2/people/(id : {profile ID})?projection =(id,firstName,lastName,industryId〜)

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

谢谢, 迈克

推荐答案

如果您还不是当前的LinkedIn合作伙伴,那么您尚无访问我们的v2 API的权限!尝试使用我们的v1 API发出类似的请求:

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/~

请参见 https://developer.linkedin.com/docs/v1/people/profile-api 了解有关Profile API的更多信息.

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

这篇关于LinkedIn个人资料API返回403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆