I am currently using the YouTube Data Channel API, which allows me to retrieve the Channel ID of any given username.
https://www.googleapis.com/youtube/v3/channels?key={KEY HERE}&forUsername={USERNAME}&part=id,snippet&order=date
It works for the majority of usernames, but for some reason it chooses not to work for others.
For example, if you visit the URL: https://youtube.com/impaulsive
, we can see that the username must be impaulsive
.
However, if you search that through the Channel API via the forUsername
attribute, it returns no results - even though it is their actual username and directs you to their official channel.
Is there a way to retrieve the Channel ID from a username?