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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With