没有足够的权限访问/me GET [英] Not enough permissions to access /me GET

查看:78
本文介绍了没有足够的权限访问/me GET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也获得了访问令牌(范围:r_basicprofile r_emailaddress w_share),也尝试使用r_fullprofile.

I got the Access Token (with scope: r_basicprofile r_emailaddress w_share) try with r_fullprofile too.

我基于此文档进行授权: https://developer.linkedin.com/docs/oauth2

i'm based on this docs to authorize: https://developer.linkedin.com/docs/oauth2

接下来,我向 https://api.linkedin.com/v2/me端点

curl -H "Authorization: Bearer ACCESS_TOKEN"
    -H "Accept: application/json"
    -H "Content-Type: application/json"

获取回复:

{
    "serviceErrorCode": 100,
    "message": "Not enough permissions to access /me GET ",
    "status": 403
}

真的不知道为什么吗?

推荐答案

LinkedIn API是私有的.您需要向他们申请授权: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program

LinkedIn API is private. You need to request authorisation from them: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program

这篇关于没有足够的权限访问/me GET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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