Being the admin of the company page, how can I access the posts from that company via LinkedIn api
I was made to be an admin to my company profile. I created an app
In order to extend the app permission you should request the access to the Marketing Developer Platform. In the LinkedIn Developer page, under Products you should add the Marketing Developer Platform.
When they grant you the new product, the new permission should be improved like:
r_emailaddress
w_share
r_ads
w_organization_social
rw_ads
r_basicprofile
r_liteprofile
r_ads_reporting
r_organization_social
rw_company_admin
rw_organization_admin
w_member_social
Also, you can Retrieve Shares with the api using the company id:
curl -X GET \
-H "Authorization:Bearer token<>" \
'https://api.linkedin.com/v2/shares?q=owners&owners=urn:li:company:{id}'
Hope this help