Not getting JSON response for Following LinkedIn Company page Rest API
GET https://api.linkedin.com/v1/companies/{id}/num-followers?format=json
Here is example:
https://api.linkedin.com/v1/companies/289891/num-followers?format=json&oauth2_access_token=XXXXX
Getting following response as just a integer
14134
But API documentation states response is JSON as
{
"num-followers": 10910
}
This was a documentation error that has since been corrected. The expected response is a plain integer value, as you are receiving.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.