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 收藏夹数量
基础教程推荐
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- WPF 模态进度窗口 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
