Note: The YouTube Data API (v2) has been officially deprecated as of March 4, 2014. Please refer to our deprecation policy for more information.
A user's channel suggestions feed identifies channels that may appeal to the user. YouTube recommends channels to a user based on an algorithm that considers signals from a variety of sources that include the user's subscriptions, favorite videos, ratings, and more.
To retrieve a feed containing channel suggestions for a logged-in user, send an authorized GET request to the URL below. The request must specify your developer key.
https://gdata.youtube.com/feeds/api/users/default/suggestion?type=channel&inline;=true
Note: This feed is only supported for authorized users who are retrieving their own channel suggestions feed.
If you set the inline
parameter value to true
when retrieving a channel suggestions feed, then each feed entry will include a channel entry that contains all of the metadata for that channel. The channel entry will be encapsulated inside the <content>
element.
The example below shows a channel suggestions feed entry for an API request that set the inline
parameter value to true
.
<entry> <id>tag:youtube.com,2008:suggestion:rWP5WOR8y6_iEQoF2ABrgLcf2ulmIfuI_TvJyayqrPk</id> <updated>2012-09-19T20:47:35.421Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#suggestion'/> <content type='application/atom+xml'> <entry> <id>tag:youtube.com,2008:channel:UC7McHNOsrUL2fRxTB_xvgRQ</id> <updated>2012-09-19T20:47:35.421Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#channel'/> <title>johnnycarson</title> <summary>Before there was Conan... before there was Jay... there was Johnny.</summary> <link rel='self' type='application/atom+xml' href='https://gdata.youtube.com/feeds/api/channels/UC7McHNOsrUL2fRxTB_xvgRQ?v=2'/> <author> <name>johnnycarson</name> <uri>https://gdata.youtube.com/feeds/api/users/johnnycarson</uri> <yt:userId>7McHNOsrUL2fRxTB_xvgRQ</yt:userId> </author> <yt:channelStatistics videoCount='241' subscriberCount='13009'/> <media:thumbnail url='https://i4.ytimg.com/i/7McHNOsrUL2fRxTB_xvgRQ/1.jpg?v=c8879e'/> <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#channel.content' href='https://gdata.youtube.com/feeds/api/users/johnnycarson/uploads?v=2' countHint='241'/> <yt:channelId>UC7McHNOsrUL2fRxTB_xvgRQ</yt:channelId> </entry> </content> <link rel='self' type='application/atom+xml' href='https://gdata.youtube.com/feeds/api/users/andyland74/suggestion/rWP5WOR8y6_iEQoF2ABrgLcf2ulmIfuI_TvJyayqrPk?v=2'/> <yt:contentType>channel</yt:contentType> </entry>
« Previous Subscriptions |
Next » Video Recommendations |