如何找出 YouTube 上的确切关注者数量? [英] How to find out the exact number of followers on YouTube?

查看:76
本文介绍了如何找出 YouTube 上的确切关注者数量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过 API 找出频道上的确切订阅者数量.

该频道不在我的帐户中,但我有观看的权利.我需要 studio.youtube.com 上显示的确切数量.

我使用:

https://www.googleapis.com/youtube/v3/channels?part=statistics,snippet&mine=true&access_token=[your_access_token].

但是它只显示一个个人账户,如果你用managedByMe替换mine,我会看到一个错误:

解决方案

根据官方YouTube 数据 API 文档,获取给定频道的订阅者数量的唯一方法是通过以下属性:

<块引用>

statistics.subscriberCount (unsigned long)
频道拥有的订阅者数量.该值四舍五入为三位有效数字.请参阅修订历史YouTube 帮助中心,详细了解订阅者数量的四舍五入方式.

statistics.hiddenSubscriberCount (布尔)
指示频道的订阅人数是否公开可见.

提供的数字是四舍五入的——因此不准确.因此,无论多么不幸,您确实无法从 YouTube 数据 API 获得您要查找的信息.


根据这篇支持帖子(下面的重点是我的):

<块引用>

为了在我们公开显示订阅人数的所有地方更加一致,从 2019 年 8 月开始,我们将开始在所有公共 YouTube 平台上显示缩写的订阅人数.使用 YouTube 的 API 服务的第三方也将访问您在 YouTube 上看到的相同的面向公众的计数.创作者仍然可以在 YouTube 工作室中看到他们的确切订阅人数.

<块引用>

这一变化将在 YouTube 和公共 YouTube 数据 API 服务中进行.创作者将继续在 YouTube 工作室和 YouTube 数据分析中私下查看完整订阅人数.

确实只有 YouTube 工作室或 YouTube 分析中的创作者才能看到确切的数字.

I need to find out the exact number of subscribers on the channel via API.

The channel is not on my account, but I have the rights to watch. I need the exact amount shown on studio.youtube.com.

I use:

https://www.googleapis.com/youtube/v3/channels?part=statistics,snippet&mine=true&access_token=[your_access_token].

But it shows only a personal account, and if you replace mine with managedByMe, I will see an error:

解决方案

According to the official YouTube Data API docs, the only way to obtain the subscriber count of a given channel is through the following properties:

statistics.subscriberCount (unsigned long)
The number of subscribers that the channel has. This value is rounded down to three significant figures. Please see the Revision History or the YouTube Help Center for more details about how subscriber counts are rounded.

statistics.hiddenSubscriberCount (boolean)
Indicates whether the channel's subscriber count is publicly visible.

The number provided is rounded -- thus is not exact. Consequently, however unfortunate, is true that you cannot obtain the info you're looking for from the YouTube Data API.


According to this support post (the emphasis below is mine):

To create more consistency everywhere that we publicly display subscriber counts, starting in August 2019, we’ll begin showing the abbreviated subscriber number across all public YouTube surfaces. Third parties that use YouTube’s API Services will also access the same public facing counts you see on YouTube. Creators will still be able to see their exact number of subscribers in YouTube Studio.

The change will take place across YouTube and the public YouTube Data API Service. Creators will continue to see their full subscriber counts privately in YouTube Studio and YouTube Analytics.

Indeed exact numbers are shown only to creators within YouTube Studio or YouTube Analytics only.

这篇关于如何找出 YouTube 上的确切关注者数量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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