Youtube-API: How to determine if I liked a video b

2019-05-02 21:55发布

I am developing a client of Youtube for iOS devices. I want to check if logged user did Like or dislike a specified video or not. But I can't find any support API (here)

When I load the feed of videos, I just found rating information below , No thing shows that logged user liked or disliked this video.

{
   "gd$rating":{
      "average":4.8963733,
      "max":5,
      "min":1,
      "numRaters":193,
      "rel":"http://schemas.google.com/g/2005#overall"
   },
   "yt$statistics":{
      "favoriteCount":"0",
      "viewCount":"111626"
   },
   "yt$rating":{
      "numDislikes":"5",
      "numLikes":"188"
   }
}

Did I make any mistake?

标签: youtube-api
3条回答
欢心
2楼-- · 2019-05-02 22:17

Currently, The official client youtube on android and iOS devices does not support this. User can't see that he/she liked or disliked a video. And, when I press "like" or "dislike" on iPad youtube app, the number of like on the youtube web does not change.

Unbelievable!

查看更多
做个烂人
3楼-- · 2019-05-02 22:21
地球回转人心会变
4楼-- · 2019-05-02 22:24
登录 后发表回答