LinkedIn V2 API读取社交操作和共享的权限 [英] LinkedIn V2 API permission for reading socialActions and Shares

查看:74
本文介绍了LinkedIn V2 API读取社交操作和共享的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我进行以下linkedIn V2 Api调用时,我没有权限错误 https://api.linkedin.com/v2/socialActions/ {share URN}?oauth2_access_token = {访问令牌}

I get no permissions error when i make the following linkedIn V2 Api call https://api.linkedin.com/v2/socialActions/{share URN}?oauth2_access_token={access token}

LinkedIn Api响应

LinkedIn Api Response

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

这些是 默认应用程序权限

有人可以帮忙吗? (需要在V2 API上进行这项工作)

can someone please help on this. (Need to make this work on V2 api)

推荐答案

如果您没有与目标公司进行交互的适当管理员权限,您的API调用将返回403 Forbidden错误.

Your API call will return a 403 Forbidden error if you do not have the appropriate admin permission to interact with the target company.

以下端点是唯一可供公众使用的端点:

The following endpoints are the only ones available for public use:

个人资料API-/v1/people/〜 共享API-/v1/people/〜/shares 公司API-/v1/companies/{id}

Profile API — /v1/people/~ Share API — /v1/people/~/shares Companies API — /v1/companies/{id}

如果您的应用程序当前正在使用任何其他API服务(例如,连接,组,人员搜索,邀请,工作搜索等),则您必须申请成为相关合作伙伴计划的成员,该计划提供必要的API访问权限继续利用上面未列出的任何端点.

If your application is currently using any other API services (e.g. Connections, Groups, People Search, Invitation, Job Search, etc.) you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to continue to leverage any of the endpoints that are not listed above.

https://developer.linkedin.com/support/developer-program-transition

这篇关于LinkedIn V2 API读取社交操作和共享的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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