I want to make a chrome extension for YouTube. I need to obtain a user's YouTube channel id, if it exists. How to do that? I tried to obtain google account id, but it does not look like YouTube channel ID.
chrome.identity.getProfileUserInfo(function(userInfo)
{
console.log(userInfo.id);
});
After it is executed, I get 10053**7950021
, but my YouTube channel has UCMEh1bYibhq7tCRRm6cA2dw
, as I get from the link. Either they use a very weird base to transform that base-10 number into UC...
, or google account is not the same as YouTube channel. Could you help please?