Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does LinkedIn v2 Share API give not enough permissions error on any v2/shares endpoint?

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 ".

Default Application Permissions

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?

like image 624
Derek Joseph Olson Avatar asked Sep 22 '17 20:09

Derek Joseph Olson


1 Answers

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

like image 142
Sinister Beard Avatar answered Oct 19 '22 22:10

Sinister Beard