Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fetch user and page/company posts from linkedin

Tags:

rest

api

linkedin

I have been checking the available linkedin API methods but cant see on how to fetch post by user and by page/company. What I need to do is that, user can enter username or a page/company name then, fetch news posts by it. Maybe you know some workarounds. Thanks

References: https://developer.linkedin.com/docs/rest-api https://apigee.com/console/linkedin?authTypeVal=oauth2&afterSuccessfulAuth=true

like image 703
Edion Larosa Avatar asked Jul 08 '16 06:07

Edion Larosa


1 Answers

Since October 2016 Linkedin updated the API an restricted actions to sign in, share content and manage companies, so you only can fetch the company's posts.

If you already have the user(company's admin) token access use this endpoint for get the posts of the page:

GET "https://api.linkedin.com/v1/companies/{id}/updates?format=json"
like image 128
Gustavo Preciado Avatar answered Nov 10 '22 06:11

Gustavo Preciado