问题
I am using the organizationalEntityShareStatistics endpoint but noticed that certain requests will return -1 for a value. Is this another way of indicating null
? For example, the following request for my personal organization returns a shareCount
of -1
.
https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn%3Ali%3Aorganization%3A35526437
{
"elements": [
{
"totalShareStatistics": {
"shareCount": -1,
"uniqueImpressionsCount": 434,
"clickCount": 25,
"engagement": 0.029905178701677606,
"shareMentionsCount": 0,
"likeCount": 10,
"impressionCount": 1371,
"commentMentionsCount": 0,
"commentCount": 7
},
"organizationalEntity": "urn:li:organization:35526437"
}
],
"paging": {
"count": 10,
"start": 0,
"links": []
}
}
I have also noticed this happening when querying share statistics for a specific share but I cannot provide that specific request because it is client data.
回答1:
So to reference their docs for the likeCount:
This field can become negative when members who liked a sponsored share later unlike it. The like is not counted since it is not organic, but the unlike is counted as organic.
MRW
...so I would assume this also applies to shareCount and who knows what other fields as well.
来源:https://stackoverflow.com/questions/55572641/why-does-linkedins-organizationalentitysharestatistics-endpoint-return-1-for-v