Arturino
Arturino

Reputation: 358

Can't Access LinkedIn Company Stats via API

when trying to get this endpoint : https://api.linkedin.com/v1/companies/{id}/company-statistics

we are getting the following error:

"Member 87483729 does not have permission to get company 123928234", status: 403..."

Their docs say :

"All calls to Companies API endpoints will require the authenticated user to be flagged as an administrator of the LinkedIn Company Page that is the target of the API call. You become the administrator of a page when you create it. If the page already exists, you will have to contact the existing administrator to grant admin access to other LinkedIn members."

Funny thing is, we do have admin rights to the page.

Upvotes: 0

Views: 389

Answers (1)

Arturino
Arturino

Reputation: 358

We figured it out :

"I had to add permissions to the app, but as i was already logged in and the auth was done by the cookie..i coudn't see the changes"

Upvotes: 0

Related Questions