LinkedIn V2 API permission for reading socialActio

2020-06-12 02:45发布

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)

2条回答
我想做一个坏孩纸
2楼-- · 2020-06-12 02:56

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

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2020-06-12 03:10

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

查看更多
登录 后发表回答