how can you get all youtube channels connected to an account? I used the service "youtube.channels.list" and set the parameter "mine = true" but I only get my first registered channel. Can anybody give me hints? Thanks in advance
Related
I am working on integrating our app with youtube and I need to get user's channel id after logging on. Is there any chance that, when using /youtube/v3/channels?part=id&mine=true endpoint, I will get more than 1 channel in result list?
I tried to create more channels using the same account, but it always resulted in creating new google account, and then having ALWAYS one channel in the result list. But maybe there is some kind of (legacy?) way to create more channels "attached" to the same google account.
No, because when you authenticate, you have to choose to which channel you want to be authorized. And the token will be valid only for that channel.
I am trying to find a way to publish videos to different youtube accounts. My client needs the customers to connect and authorize their youtube account and push videos to their channels.
I have currently done pushing videos to the account which i created the client id and secret as mentioned here in the docs but cannot push to other accounts.
my client is expecting a similar implementation as shown in the youtube video below.
https://www.youtube.com/watch?v=LKNnPl0Zjiw
any help woud be much appreciated
thanks in advance
Without knowing too much about it, I would assume you need to create a new connection to the YoutTubeAPI each time you want to publish something to a new channel, similar in a way you need to change accounts as shown in the video.
Basically, you could create a UI in which you can select different accounts. Whenever you change an account, you create a new connection to the API and login into the other account. This would be they way in which I would try and tackle the problem.
YouTube Content ID API is not showing up on my api console, I already made sure my channel was partnered, I also linked it the CMS account, everything is setup correctly but, when I go to the API console it does not show it. The channel I'm uploading the videos to is a brand account of the main email, is that the problem? if so how can I fix it. Thanks.
To get access to YouTube Content ID API you first need to apply here.
https://www.youtube.com/content_id_signup?internalcountrycode=GB
You must be a partner to apply.
I want to get all channels that I have on a youtube account.
For example I have 3 channels on a account.
What I've done:
Read the documentation on https://developers.google.com/youtube/v3/docs/channels/list.
Authenticate with my account
Send GET request to GET https://www.googleapis.com/youtube/v3/channels?part=snippet&mine=true&key={YOUR_API_KEY}
I got success response, without error. But I only get a channel. I expected to get all my channels (3 channels).
Is it possible to get all my channels? If possible what should I do to get it?
After sometime searching for the same question,
I found this YouTube API v3 get all channels associated with a logged in user
And that is true.
Apparently, Youtube has no user info, but a channel info. So, when a user gives you permission to read his/her Youtube info, you only got permission to read a specific channel info (the "mine" channel) that was selected on the Google Account permission page.
The other user's channels will be seen as any other channel.
btw, I am not 100% of this, that's what I understood after reading the Youtube Data Api V3.
So I just signed up my app for Youtube Data API V3.. I currently have the API key on hand.
Now.. I don't need to do any auth. I only want to access public information about different youtube channels.. such as their subscriber count, likes/dislikes per video, comments per video.. and that's about it.
Can someone point me to an example of hitting an endpoint to get sub count using a sample youtube account?
Thanks. Any help is appreciated.