php - 为什么 LinkedIn v2 Share API 在任何 v2/shares 端点上都没有提供足够的权限错误?

标签 php api permissions linkedin linkedin-api

当我调用任何 v2 LinkedIn 共享 API 端点时,例如 https://api.linkedin.com/v2/socialActions/ {share URN}?oauth2_access_token={access token} 我收到回复说“权限不足,无法访问/socialActions/{target} GET”。

Default Application Permissions

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

最佳答案

虽然文档中并不清楚,LinkedIn API 是私有(private)的。您需要向他们请求授权:https://developer.linkedin.com/partner-programs

关于php - 为什么 LinkedIn v2 Share API 在任何 v2/shares 端点上都没有提供足够的权限错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46372629/

相关文章:

swift - OS X API 枚举包含 AppleDouble 文件的文件夹(以 "._"开头)?

linux - 无法CD进入具有755权限的目录吗?

php - 登录我的网站管理部分时出现问题

ios - Swift 项目中的 AFNetorking -- "Error: Request failed: unacceptable content-type: text/html"

php - 为什么 PHP 不提供用于浮点比较的 Epsilon 常量?

api - 使用 BitBucket API,列出哪些分支拥有 master 中的所有内容,哪些分支没有

linux - Linux服务器var文件夹的默认权限是什么?

python - django 管理员权限 - 可以编辑用户但不能编辑他的权限 - 怎么做?

php mysql 图片显示不正确

php - ZF2 在工厂获取参数