LinkedIn V2 API permission for reading socialActions and Shares

ε祈祈猫儿з 提交于 2019-12-21 03:58:11

问题


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 Response

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

These are the Default application Permissions

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


回答1:


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:

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

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




回答2:


On using the updated V2 access token, the endpoints were working good.



来源:https://stackoverflow.com/questions/43584557/linkedin-v2-api-permission-for-reading-socialactions-and-shares

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!