如何获取所有像我们的页面一样的帖子数量,实际上我们已经创建了一个页面并发布了一些文章。现在我想使用API检索所有类似我的帖子,我可以从Postman那里获得访问令牌。当我运行V2 API以通过poastman获取数据时,我得到了以下错误:“没有足够的权限访问: get /socialActions/”。请告知还需要什么许可。
在邮递员的Auth导航下,从postman获得OAuth2.0的访问令牌。获取访问令牌后,运行https://api.linkedin.com/v2/socialActions/{activity} I将得到以下错误:{ "serviceErrorCode":65604,“消息”:“空oauth2访问令牌”,“状态”:401 }
然后,我在其他系统邮递员中发现了以下错误:{ "serviceErrorCode":"message":“访问权限不足: GET /socialActions/","status":401 }
应该是JSON格式的结果数据
发布于 2019-09-11 11:05:56
以下是样例请求
https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:xxxxxx&shares=urn:li:share:xxxxxxxxx&count=1000
抽样答复:
{
"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": []
}
}
https://stackoverflow.com/questions/57882965
复制相似问题