如何添加更多权限以使用#LinkedIn API访问其余api数据

时间:2019-09-12 07:02:36

标签: linkedin-api

我正在从https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/share-statistics#sample-request请求数据

运行https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:xxxxxx&shares=urn:li:share:xxxxxxxxx&count=1000

但是我遇到了与权限相关的错误: { “ serviceErrorCode”:100, “ message”:“权限不足,无法访问:GET-organizationalEntity / organizationalEntityShareStatistics”, “状态”:403 }

我正在尝试https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:xxxxxx&shares=urn:li:share:xxxxxxxxx&count=1000

但是我遇到了与权限相关的错误: { “ serviceErrorCode”:100, “ message”:“权限不足,无法访问:GET-organizationalEntity / organizationalEntityShareStatistics”, “状态”:403 }

我正在使用Postman来运行API。响应应该是: {“ elements”:[{“ totalShareStatistics”:{“ shareCount”:2,“ clickCount”:1,“ engagement”:10,“ likeCount”:5,“ impressionCount”:7,“ commentCount”:5},“ share“:” urn:li:share:xxxxxx“,” organizationalEntity“:” urn:li:organization:xxxxx“}],” paging“:{” count“:1000,” start“:0,” links“: []} }

0 个答案:

没有答案