I am trying to fetch companies updates with this API https://developer.linkedin.com/docs/company-pages#company_updates
I use Node.js with linkedin-js package module wrapper. I found that I only got 5 posts from this company (id=3487133). But it shown in page, that it got more than 5 updates. How can I get all its posts updates ? Thanks.
Here is my code
var linkedin_client = require('linkedin-js')(appid, appsecret, url_callback)
var cid = 3487133;
var param = {
token: {
oauth_token_secret: <token_secret>,
oauth_token: <token>
},
count: 50
}
//post
linkedin_client.apiCall('GET', '/companies/' + cid + '/updates', param, function(error, result) {
console.log(result)
});