Per the YouTube Data API V3 at https://developers.google.com/youtube/v3/docs/channels#snippet.customUrl, I was expecting to see something like
{ ... "snippet": { ... "customUrl": ... } ... }
if I supply a channel ID that have a corresponding custom URL.
For example, I randomly found https://www.youtube.com/c/KinoCheck at YouTube. The channel ID for this custom channel URL is UCOL10n-as9dXO2qtjjFUQbQ.
Passing
part=snippet,status
id=UCOL10n-as9dXO2qtjjFUQbQ
to the Google's API's Explorer at
Services > YouTube Data API v3 > youtube.channels.list
that result in this URL
https://www.googleapis.com/youtube/v3/channels?part=snippet%2Cstatus&id=UCOL10n-as9dXO2qtjjFUQbQ&key={YOUR_API_KEY}
I get the following results
{
"kind": "youtube#channelListResponse",
"etag": "\"q5k97EMVGxODeKcDgp8gnMu79wM/3Ikdg3dfpT2WyGrGi-SpJDtdsxE\"",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#channel",
"etag": "\"q5k97EMVGxODeKcDgp8gnMu79wM/vFtLxXdyyYVC8raK8eQzs_B8My0\"",
"id": "UCOL10n-as9dXO2qtjjFUQbQ",
"snippet": {
"title": "KinoCheck",
"description": "Täglich die neuesten Film Trailer, News und Kritiken in bester Qualität! KinoCheck ist Deutschlands größter Movie-Entertainment Channel.\nEgal ob Blockbuster wie X-Men Apocalypse, Star Trek 3, Batman v. Superman, Suicide Squad, Angry Birds, Warcraft, Captain America 3 oder Indie-Film Trailer, wir haben sie alle! Zusätzlich produzieren wir original Inhalte wie Filmkritiken, Mashup's & Gewinnspiele, damit ihr wisst welcher Film ein wahrer KinoKinoFilm ist!\n\nBesuche unsere brandneue Seite https://KinoCheck.de und finde spielend leicht den richtigen Film für dich und deine Freunde.\n\nProjektleitung: Jan Pfriem | KinoCheck ein Format der some.marketing GmbH & Co. KG",
"publishedAt": "2012-06-28T10:49:44.000Z",
"thumbnails": {
"default": {
"url": "https://yt3.ggpht.com/-grf9lrD03u4/AAAAAAAAAAI/AAAAAAAAAAA/nUMotu3xp38/s88-c-k-no/photo.jpg"
},
"medium": {
"url": "https://yt3.ggpht.com/-grf9lrD03u4/AAAAAAAAAAI/AAAAAAAAAAA/nUMotu3xp38/s240-c-k-no/photo.jpg"
},
"high": {
"url": "https://yt3.ggpht.com/-grf9lrD03u4/AAAAAAAAAAI/AAAAAAAAAAA/nUMotu3xp38/s240-c-k-no/photo.jpg"
}
},
"defaultLanguage": "de",
"localized": {
"title": "KinoCheck",
"description": "Hot new movie trailer, news and reviews in highest quality on a daily basis! KinoCheck is Germany’s largest movie-entertainment channel.\nWhether blockbusters like X-Men Apocalypse, Star Trek 3, Batman v. Superman, Suicide Squad, Angry Birds, Warcraft, Captain America 3, or indie movie trailers — we’ve got them all. In addition, we create original content like reviews, mashup’s and contest, so you’ll always be up to date on the really good movies!\n\nDon’t miss to visit our brand-new website https://KinoCheck.de\n\nKinoCheck is a project of some.marketing GmbH & Co. KG"
}
},
"status": {
"privacyStatus": "public",
"isLinked": true,
"longUploadsStatus": "longUploadsUnspecified"
}
}
]
}
I was expecting but did not see something like
{ ... "snippet": { ... "customUrl": "https://www.youtube.com/c/KinoCheck/" ... } ... }
What am I missing? Do I need to use a different API?
Thanks.
Disclaimers
- I have experience integrating with Facebook, etc.
- I just started integrating with Google and YouTube two weeks ago.
- I have googled for a few hours, but cannot seem to find an answer.