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

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

问题描述

当我调用任何 v2 LinkedIn 共享 API 端点时,例如

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

解决方案

虽然文档中没有明确说明,LinkedIn API 是私有的.您需要向他们请求授权:https://developer.linkedin.com/partner-programs

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 ".

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?

解决方案

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天全站免登陆