I'm trying to retrieve Youtube channel ID and name using Youtube data API but I'm getting empty item. I have only the Youtube user email account. Is there away to get the channel details from the email only?
https://www.googleapis.com/youtube/v3/channels?part=snippet&key={YOUR_API_KEY}
There is no way of retrieving YouTube channels via their associated e-mailaddress at this moment.
There is no way to get the user channel ID from user email. I have tried to use
forUsername
parameter but this works only for some users (legacy issue). The only I have found is to use Google Signin for iOS implementation which allow you yo signin with your google account. In order to have that ability to get YouTube data it require additional scope configuration as follows:Now, you can run the following YouTube data API with Access Token:
The access token, you will get from
user.authentication.accessToken