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!!
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
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.