为什么LinkedIn的organizationalEntityShareStatistics端点对于某些请求中的值返回-1? [英] Why does LinkedIn's organizationalEntityShareStatistics endpoint return -1 for values in certain requests?

查看:77
本文介绍了为什么LinkedIn的organizationalEntityShareStatistics端点对于某些请求中的值返回-1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用organizationalEntityShareStatistics端点,但是注意到某些请求将返回-1的值.这是指示 null 的另一种方式吗?例如,以下针对我的个人组织的请求返回 -1 shareCount .

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.

推荐答案

因此要引用其

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

...所以我认为这也适用于shareCount,谁也知道其他什么字段.

...so I would assume this also applies to shareCount and who knows what other fields as well.

这篇关于为什么LinkedIn的organizationalEntityShareStatistics端点对于某些请求中的值返回-1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆