YouTube API PHP - how or do not like the video after authentication

I use PHP and Zend to download my videos from YouTube. I am authenticated using AuthSub and can successfully post comments.

Now I want to click like or dislike. The PHP API Guide only has the old star rating: http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Adding_a_Rating

But how can I do the same for the new rating system?

+3
source share
2 answers

I know that the question is quite old, but I hope my answer will be useful to anyone who finds this post through Google.

like/dislike http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_api_tag_yt:rating

- http://code.google.com/apis/youtube/2.0/developers_guide_protocol_ratings.html

, , / , POST URL "" / " ".

/ (.. , ), , 1 "" 5 "".

, .

+3

, ​​ 3 API YouTube: API YouTube v3: Python

0

Source: https://habr.com/ru/post/1788483/


All Articles