为什么LinkedIn v2 Share API在任何v2/shares终结点上都没有给出足够的权限错误? [英] Why does LinkedIn v2 Share API give not enough permissions error on any v2/shares endpoint?

查看:135
本文介绍了为什么LinkedIn v2 Share API在任何v2/shares终结点上都没有给出足够的权限错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我调用任何v2 LinkedIn共享API端点时,例如 https://api.linkedin .com/v2/socialActions/ {share URN}?oauth2_access_token = {访问令牌},我收到一条响应,提示权限不足,无法访问/socialActions/{target} GET".

When I make a call to any v2 LinkedIn share API endpoint such as https://api.linkedin.com/v2/socialActions/{share URN}?oauth2_access_token={access token} I get a response saying "Not enough permissions to access /socialActions/{target} GET ".

我们最近已向我们的应用程序授予了访问营销API的权限,这就是我获得r_ad_campaigns许可的方式. 共享API文档没有说明原因将会发生此错误,或者我可能缺少哪些权限.任何人都能够成功地对此端点或类似的/shares端点发出请求吗?

Our application was recently given access to marketing API which is how I got the r_ad_campaigns permission. The share API documentation gives no explanation of why this error would occur or what permissions I may be missing. Has anyone been able to successfully make a request to this endpoint or a similar /shares endpoint?

推荐答案

尽管文档中不清楚,但LinkedIn API是私有的.您需要从他们那里请求授权: https://developer.linkedin.com/partner-programs

Though it's not clear from the documentation, LinkedIn API is private. You need to request authorisation from them: https://developer.linkedin.com/partner-programs

这篇关于为什么LinkedIn v2 Share API在任何v2/shares终结点上都没有给出足够的权限错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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