GET /share API 所需的权限

问题描述

我正在尝试使用 Linkedin Share API 来获取我自己的帖子(即 https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/share-api)。

我已获得在 Linkedin 上共享和使用 Linkedin 登录的访问权限,并看到我可用的范围是 r_liteprofile、r_emailaddress 和 w_member_social

我能够成功生成 OAuth 2.0 访问令牌,并且可以成功地向 https://api.linkedin.com/v2/me 发出 GET 请求,在那里我检索了我的“id”值。

我现在正在尝试向 https://api.linkedin.com/v2/shares?q=owners&owners=urn:li:person:{my_id_value}&sortBy=LAST_MODIFIED

其中 {my_id_value} 替换为 /me 调用中检索到的 ID。

当我发送这个请求时,我得到:

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

我的问题是,成功运行此请求需要什么权限/范围?还是我发送的请求类型错误

我只是想基本上检索我自己的 Linkedin 页面上的最新帖子。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)