当天的LinkedIn历史跟踪统计API与当前关注者计数不匹配 [英] LinkedIn historical-follow-statistics API for current day does not match current follower count

查看:60
本文介绍了当天的LinkedIn历史跟踪统计API与当前关注者计数不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

点击历史记录追随者计数API,网址为 https://developer.linkedin.com/docs/company-pages#historical_followers

Hitting the Historical Follower Count API documented at https://developer.linkedin.com/docs/company-pages#historical_followers

URL是:

https://api.linkedin.com/v1/companies/{id}/historical-follow-statistics?time-granularity=day&start-timestamp=1501718400000&end-timestamp=1501718400000&format=json

这些时间戳都是今天的.响应是:

Those timestamps are both for today. Response is:

[                                    
  "_total" => 1,                     
  "values" => [                      
    [                                
      "organicFollowerCount" => 932, 
      "paidFollowerCount" => 84,     
      "time" => 1501718400000.0,     
      "totalFollowerCount" => 1016,  
    ],                               
  ],                                 
]     

但是公司页面上当前的实际关注者人数是1009

But the actual current follower count on the Company's page is 1009

这些数字中的哪个是正确的?该公司的追随者人数波动不大,以弥补这一差异.

Which of these number is correct? The follower count for this company does not fluctuate that much to account for this difference.

谢谢!

推荐答案

公司关注者计算num-followers和统计数据端点之间的不匹配情况.

Company Followers count mismatch between num-followers and statistics endpoints.

API端点1: https://api.linkedin.com/v1/companies/ {id}/company-statistics? API Endpoint2: https://api.linkedin.com/v1/companies/ {id }/num-followers?

API Endpoint1: https://api.linkedin.com/v1/companies/{id}/company-statistics? API Endpoint2 : https://api.linkedin.com/v1/companies/{id}/num-followers?

在第二个api端点中,您可以获得准确的关注者计数.但是公司统计端点返回的追随者数量多于实际数量.不知道为什么

Here in second api endpoint , you can get accurate followers count. But company statistics endpoint returning more followers count than actual count. dont know why

这篇关于当天的LinkedIn历史跟踪统计API与当前关注者计数不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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