最近,我正在使用Linkedin API v2,但是我遇到了一些问题
我可以使用https://api.linkedin.com/v2/organizationPageStatistics?q=organization&organization={organization URN}
但是我找不到任何API来获取上述信息。
请帮助我解决以上问题。 预先感谢您的任何建议。
答案 0 :(得分:3)
实际上,linkedin不提供Facebook或Twitter之类的API。 他们仍然缺少针对具体情况的API。您需要从linkedin中获取数据以获取除标准linkedin API以外的其他信息。
答案 1 :(得分:1)
您可以使用Share API
您可以使用Find Shares by Owner检索公司的帖子:
获取 https://api.linkedin.com/v2/shares?q=owners&owners= {URN}&sharesPerOwner = 100
{
"activity": "urn:li:activity:12345657",
"content": {
"contentEntities": [
{
"entity": "urn:li:article:0",
"entityLocation": "https://www.example.com/content.html",
"thumbnails": [
{
"imageSpecificContent": {},
"resolvedUrl": "https://www.example.com/image.jpg"
}
]
}
],
"description": "content description",
"title": "Test Share with Content"
},
"created": {
"actor": "urn:li:person:A8xe03Qt10",
"time": 1471967236000
},
"distribution": {
"linkedInDistributionTarget": {}
},
"id": "6173878065928642560",
"lastModified": {
"actor": "urn:li:person:A8xe03Qt10",
"time": 1471967237000
},
"owner": "urn:li:organization:1000",
"text": {
"text": "Test Share!"
} }
关于分析,您可以使用Retrieve a Summary of Social Actions API:
获取 https://api.linkedin.com/v2/socialActions/ {shareUrn | ugcPostUrn | commentUrn}
{
"commentsSummary": {
"totalFirstLevelComments": 4,
"aggregatedTotalComments": 9
},
"$URN": "urn:li:activity:6296748651834277888",
"likesSummary": {
"likedByCurrentUser": false,
"totalLikes": 226
}
}
希望获得帮助