如何通过 LinkedIn 中的公司页面 API 检索展示状态更新

How to retrieve showcase status updates through company page API in LinkedIn

我有以下 REST 调用来获取公司页面的状态更新:

GET https://api.linkedin.com/v1/companies/<id>/updates?event-type=status-update&count=20&format=json

公司现在有一个展示页面,希望我也获得此页面的 status-updates。问题是我没有此展示页面的页面 ID。

他们告诉我展示页面是原始页面的子页面,api 应该也能显示他们的 status-updates

知道如何获得这些吗?我只得到原始公司更新

这应该可以通过 LinkedIn v2 API 实现,尽管我没有尝试过。此外,您似乎必须申请成为 LinkedIn 合作伙伴才能使用 v2 API.

Find Organization Brands by Parent Organization

Members with access to this API can look up the basic information of an organization using the parent organization URN. This returns an array of brands that belong to the specified parent organization.

Sample Request

GET https://api.linkedin.com/v2/organizations?q=parentOrganization&parent=[organization_URN]

参见:

https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/organization-lookup-api#find-organization-brands-by-parent-organization