I have been searching the entire internet for an solution of this problem, but can't seem to find any answers that solve my problem.
I'm trying to get historical followers from LinkedIns API with this call: https://api.linkedin.com/v1/companies/${companyId}/historical-follow-statistics?time-granularity=day&start-timestamp=${from}&end-timestamp=${to}&format=json from my Node/Express application. I've put the headers like this: Authorization: Bearer 'mytoken' (retrieved from an OAuth2 login).
I keep getting this error code back:
{
"errorCode": 0,
"message": "Internal service error",
"requestId": "22BM2KPRXF",
"status": 500,
"timestamp": 1489395675897
}
I can easily make calls to other endpoints.
I think i am doing exactly what the docs say: https://developer.linkedin.com/docs/oauth2
So my question is: What am i doing wrong? Is it an error with that exact endpoint?
I found out that apparently almost everything other than the "get followers" endpoint doesn't work on the testcompany, but do indeed work on the correct company... LinkedIn please fix this. I've spent hours figuring this out...