Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube API V3 - Get recommended video for new feed

As YouTube official documentation about implement and immigrate to API V3, they said:

YouTube Data API (v2) functionality: Retrieve video recommendations
The v3 API does not retrieve a list that only contains videos recommended for the current API user. However, you can use the v3 API to find recommended videos by calling the activities.list method and setting the home parameter value to true.

But now the parameter home has been deprecated too. Currently, when I set the home parameter to true, I only retrieve the recently uploaded video in the channel: Popular video in YouTube. There are no video with snippet.type=recommendation at all.

I need to show recommended videos of authenticated user in new feed, but seem like this feature is completely deprecated by YouTube. Anyone has solution for that?
Thanks first!

like image 418
Khang .NT Avatar asked Mar 27 '17 13:03

Khang .NT


1 Answers

Unfortunately, I can't find any documentation or example about this feature. It seems that this has been deprecated. However, you may check this documentation with sample JSON structure that shows the format of a activities resource such as recommendation:

"recommendation": {
      "resourceId": {
        "kind": string,
        "videoId": string,
        "channelId": string,
},

Hope this helps!

like image 156
abielita Avatar answered Dec 30 '22 05:12

abielita