问题
When I make a call to any v2 LinkedIn share API endpoint such as https://api.linkedin.com/v2/socialActions/{share URN}?oauth2_access_token={access token} I get a response saying "Not enough permissions to access /socialActions/{target} GET ".
Our application was recently given access to marketing API which is how I got the r_ad_campaigns permission. The share API documentation gives no explanation of why this error would occur or what permissions I may be missing. Has anyone been able to successfully make a request to this endpoint or a similar /shares endpoint?
回答1:
Though it's not clear from the documentation, LinkedIn API is private. You need to request authorisation from them: https://developer.linkedin.com/partner-programs
来源:https://stackoverflow.com/questions/46372629/why-does-linkedin-v2-share-api-give-not-enough-permissions-error-on-any-v2-share