I'm trying to figure out how to access any company profile on LinkedIn. For example, the REST endpoint API for LinkedIn itself is:
https://api.linkedin.com/v1/companies/1337?format=json
with the sample response of:
{
"id": 1337,
"name": "LinkedIn"
}
However, after authenticating with OAuth2 with rw_company_admin
enabled, my app returns:
{
"errorCode": 0,
"message": "Member 206xxxxxx does not have permission to get company 1337",
"requestId": "G6LNMCEZO8",
"status": 403,
"timestamp": 1432358171348
}
This worked up until very recently.
The documentation does note that "In order to perform any of the company page management API calls below, the authenticated LinkedIn user making the requests must be an administrator of the target company." Confusingly, it also says that "The following endpoints are the only ones that will remain available for use... Companies API — /v1/companies/{id}
".
However, my goal isn't to manage a company as an admin, it's to show a user a brief output of the company. How can I get company info?