So I need to get my company's followers details.
I tried this :
public function getCompanyFollowers($company_id=""){
if(!$company_id)return false;
$params['url'] = "https://api.linkedin.com/v1/companies/".$company_id.":(num-followers)";
$params['method']='get';
$params['args']['format']='json';
$result = $this->makeRequest($params);
return json_decode($result,true);
}
but that only returns the count of followers.
On the Linkedin Company page if you click on that number of followers link we can see a list of detailed followers. How can I get that list of detailed followers with Linkedin API ?
Thank you.
I ran into this question myself today.
At the time of writing this response, accessing a detailed list of followers for a LinkedIn company page is not an option in the company API endpoint.
For a full list of supported company API fields such as num-followers
used in your example, see this page.
It's possible to list companies that the current logged-in user follows via the people endpoint:
http://api.linkedin.com/v1/people/~/following/companies
It's not possible to list people that follow a company via the people or companies endpoints.
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