LinkedIn 分享数 API (/countserv/count/share) 总是 returns "0"
LinkedIn share count API (/countserv/count/share) always returns "0"
在 JSON 结果中很容易看出:
https://www.linkedin.com/countserv/count/share?url=https://www.linkedin.com
目前returns:
IN.Tags.Share.handleCount(
{
"count":0,
"fCnt":"0",
"fCntPlusOne":"1",
"url":"https:\/\/www.linkedin.com"
});
显然它影响了网络上的大部分 LinkedIn 分享 buttons/counters,包括 WordPress 和其他博客。这是自上周晚些时候(2018 年 1 月 13 日)以来 "broken"。
我在 LinkedIn 支持下开了一张票。回复是 post 这里,因为这是 LinkedIn Developers 支持所在的地方。希望得到一个说 "Oops, we'll fix this." 的回应,或者,如果故意削弱,一个这样说的公告。 (Twitter 几年前采取了类似的举措。它在开发人员中不受欢迎,但我们继续前进。)
共享计数服务已恢复运行,一切如常。中断是故意的(显然)但是暂时的。
据我所知,这是一个未记录的 API,但它是 "LinkedIn Share" 按钮不可或缺的一部分,这些按钮在全世界无数 websites/blogs 中使用。因此,LinkedIn 没有 contract/obligation 来保留该服务 运行...因此非 LinkedIn 组件中的服务消费者应该当心。
感谢您的更新!追踪到这件事真是令人沮丧。我不得不研究代码,从 API 本身请求多个 URL,向 LinkedIn 提交一张票……最终发现自己在这里并阅读了这篇文章。只是一个建议,我认为 return 某种错误代码比 0 更好。许多人实际上在他们的网站上显示计数。
根据 Chris Hemedingers 的回应,此功能现已完全弃用
Deprecating the inShare Counter
如您所见,他们已经弃用了这句话:
The share count on its own doesn’t fully reflect the impact that a piece of content delivers, and we encourage publishers and other content creators to leverage the inShare plugin as a way to drive conversation and engage with members on LinkedIn.
然后他们 link 到 Documentation 说:
Share on LinkedIn plugin will no longer return share count.
这对我的公司来说非常不方便,因为我们刚刚完成了一套由它提供支持的工具的构建。
在 JSON 结果中很容易看出:
https://www.linkedin.com/countserv/count/share?url=https://www.linkedin.com
目前returns:
IN.Tags.Share.handleCount(
{
"count":0,
"fCnt":"0",
"fCntPlusOne":"1",
"url":"https:\/\/www.linkedin.com"
});
显然它影响了网络上的大部分 LinkedIn 分享 buttons/counters,包括 WordPress 和其他博客。这是自上周晚些时候(2018 年 1 月 13 日)以来 "broken"。
我在 LinkedIn 支持下开了一张票。回复是 post 这里,因为这是 LinkedIn Developers 支持所在的地方。希望得到一个说 "Oops, we'll fix this." 的回应,或者,如果故意削弱,一个这样说的公告。 (Twitter 几年前采取了类似的举措。它在开发人员中不受欢迎,但我们继续前进。)
共享计数服务已恢复运行,一切如常。中断是故意的(显然)但是暂时的。
据我所知,这是一个未记录的 API,但它是 "LinkedIn Share" 按钮不可或缺的一部分,这些按钮在全世界无数 websites/blogs 中使用。因此,LinkedIn 没有 contract/obligation 来保留该服务 运行...因此非 LinkedIn 组件中的服务消费者应该当心。
感谢您的更新!追踪到这件事真是令人沮丧。我不得不研究代码,从 API 本身请求多个 URL,向 LinkedIn 提交一张票……最终发现自己在这里并阅读了这篇文章。只是一个建议,我认为 return 某种错误代码比 0 更好。许多人实际上在他们的网站上显示计数。
根据 Chris Hemedingers 的回应,此功能现已完全弃用
Deprecating the inShare Counter
如您所见,他们已经弃用了这句话:
The share count on its own doesn’t fully reflect the impact that a piece of content delivers, and we encourage publishers and other content creators to leverage the inShare plugin as a way to drive conversation and engage with members on LinkedIn.
然后他们 link 到 Documentation 说:
Share on LinkedIn plugin will no longer return share count.
这对我的公司来说非常不方便,因为我们刚刚完成了一套由它提供支持的工具的构建。