YouTube number of favourites(YouTube 收藏夹数量)
问题描述
我正在使用 YouTube API 工作/玩 :).我可以使用 GetFavoriteFeed() 为每个用户获取他们最喜欢的视频,但是有可能获得相反的选项吗?我的意思是从视频中获得多少次被标记为收藏?实际上,当您在视频上单击收藏夹时,如果您查看视频的统计信息(YouTube 网页),收藏夹点中总是有一个 0 :S谢谢!!
I am working/playing :) with the YouTube API. I can get for each user their favourites videos, using GetFavoriteFeed(), but It is possible to get the inverse option? I mean get from a video how many times has been marked as a favourite? In fact, when you click favourite on a video then if you see the statistics of the video (YouTube webpage), in favourites point there is always a 0 :S Thx!!
推荐答案
它应该在给定视频的 yt:statistics
的 favoriteCount
属性中返回,但是是的,我看到的所有视频也只能返回 0.
It's supposed to be returned in the favoriteCount
attribute of yt:statistics
for a given video, but yeah, I'm only getting back 0 for all the videos I look at as well.
这可能是由于 YouTube 停止公开提供该信息,因此它不再显示在网页上或通过 API 显示.如果是这种情况,我会请技术作者获取 API 的 文档 更新以反映这一点.
It might be the the YouTube stopped making that information publicly available, and as a result it's no longer displayed on the webpage or via the API. If that's the case, I'll ask the technical writers to get the documentation for the API updated to reflect that.
这篇关于YouTube 收藏夹数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:YouTube 收藏夹数量


- MoreLinq maxBy vs LINQ max + where 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 输入按键事件处理程序 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01