算上youtube订阅者 [英] count youtube Subscriber
本文介绍了算上youtube订阅者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
如何使用youtube api 3来统计youtube频道用户?
Hello
How to use youtube api 3 to count youtube channel subscriber?
推荐答案
你可以搜索订阅者。该请求必须经过身份验证。将mine设置为true并将maxResults设置为零(如果不起作用,则设置为1)。我们的想法是你找回一个我们不关心的分页子列表(因此maxResults)和PageInfo.totalResults,这就是你想要的。
此Api Doc页面提供了所有这些以及更多内容 [ ^ ]
You can perform a search for subscribers. The request has to be authenticated. Set "mine" to true and set "maxResults" to zero (or 1 if that doesn't work). The idea is that you get back a list of paged subs, which we don't care about (hence maxResults) and PageInfo.totalResults, which is what you want.
All this and more is available of this Api Doc page[^]
这篇关于算上youtube订阅者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文