How to get posts of an organization from LinkedIn where Im the admin of the page

旧街凉风 提交于 2019-12-11 12:55:33

问题


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 and mapped my company to that app. But the wonder is i just got three permissions to the app:

r_emailaddress
r_liteprofile
w_member_social

But I read that to fetch the company updates, I should use UGC Api. When I read the api documentation, it states that I need to have r_member_social or r_organization_social as per the below link

https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/ugc-post-api

Can you guys let me know how can i get those permissions to my app?

I tried eventhough with the UGC Api, but it says my app dont have access.

Could anyone help me here to get the information as required


回答1:


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



来源:https://stackoverflow.com/questions/56291683/how-to-get-posts-of-an-organization-from-linkedin-where-im-the-admin-of-the-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!