get who gave like on video youtube PHP API

Asked

Viewed 1,667 times

1

Is there any way to receive information from those who gave like in a certain video? example, joão deu like in the video "Playing here", or better yet, there is some way to know how many videos John has given in every channel?

  • I believe it is impossible, only to see registration (if the profile is public) and shares.

2 answers

1

There is no way to do this without having installed in the client an api that monitors the client’s steps, through your account Oce only has how to know if the profile of the user who followed you is public and if your profile is also from there youtube provides you this.

1

This is not possible, at least not that way. Google has a API for Youtube, you need to authorize this, obviously.

If it authorizes, you can use the "Retrieve the Current user’s rating of a video", described here, he will return:

GET https://www.googleapis.com/youtube/v3/videos/getRating

{
 "kind": "youtube#videoGetRatingResponse",
 "etag": "...",
 "items": [
  {
   "videoId": "...",
   "rating": "none"
  }
 ]
}

The none indicates that I have never evaluated the video, in case I have given some like, it will be "like", for example.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.