Is it possible to upload videos on specific channel through youtube API? - youtube-api

Is it possible to upload videos on a specific channel through Youtube API?
I am just able to upload videos on main account. We have created some channels using business names. But, I could not find any way to upload videos on those channels so far using API.
On main account, the profile is using a human name. We need to use business name and the channels have been created using business names under the main youtube account. I uploaded a video manually too. But, we need to upload the videos using API on those business channels.
Can anyone help here?

If you get authorized for that account, you can upload to that account too.
If you are using Google+ to manage all those accounts, you can read here. (This is also suggested way to manage multiple channels with one login name.)
If you are a content owner that is managing all these channels, then you can use Content ID API.

Related

Retrieving YouTube API v3 data for all my channels

I have five YouTube channels that are all under one user account (one e-mail address). I can switch between them at will within the YouTube mobile app, YT Studio and so on by using the app's Switch Account function.
I also have developed some processes that will retrieve statistics about my primary channel's videos and store them into a database.
I would like to also retrieve the same information about all my other channels, but I don't seem to be able to do this. Those processes can see only PUBLIC information about the other channels. So unlisted/private videos are skipped, for example. The simple solution would be to create credentials for the other channels of interest and apply those new credentials to the processes, but I don't see a way to create credentials for any account other than the primary on the Google Developer Console
Am I missing something about Developer Console that would allow me to create other sets of credentials for the other channels? Or maybe there's a "switch account" equivalent I'm not aware of? Or what other solution is available for multiple channels?
According to this link, this is the correct forum for my question, but Google seems to be unresponsive more often than not.

YouTube API upload video to different YouTube accounts

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.

Permissions to access someone's private videos on YouTube

We're working on an integration with youtube channels (using Youtube Data Api v3). We need to access the videos (private also) on our user's channels.
The flow is the following:
User authorizes his/her youtube account on our site using OAuth.
We show user the list of videos on user's youtube channel.
User selects some of them (they can be private) and sends us for processing.
We need to somehow access the actual video files which the user asks us to process.
The issue is that youtube does not give any streaming URLs or download links.
Looks like, the API provides only iframe embedded code, which works ONLY for the browser, where the user is actually logged into youtube.
How can we access(can we?!) the private video, if we have the OAuth access-token of the video owner?
The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The lists below identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources. This in a sense means that you can see most of what you can see on the YouTube website including uploading new videos.
Downloading Youtube videos is against their Terms of Service, so the API does not support that.
Page linked above refers to Youtube ToS that states:
You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content.
YouTube partners may have access to this feature in their API (no idea i have never seen the api), if you have access to this i suggest you contact your manager directly they should be able to instruct you on how to access it assuming the feature exists.

What are the requirements for using the YouTube api to post to a specific channel?

I need to post videos to specific YouTube channels via the V3 api managed by a single account.
I am trying to use the onBehalfOfContentOwner & onBehalfOfContentOwnerChannel fields to upload the video but I'm somewhat confused about the account requirements in order to enable this.
My understanding is that it is only possible to do this with channels that are managed by a Partner Account. I have set up my account as a partner account and the next thing the documentation talks about is using a CMS account. To give permissions to manage channels. The documentation seems to suggest that a CMS account is generated automatically once you become a partner account, but I can see no sign of this.
The documentation then goes on to talk about having to have a Partner Content ID in order to get a Full CMS account. This appears to be something that you have to apply for.
Is it really necessary that the account and channels have to be set up in this way or is there an easier way to manage this?

How to get asset ids claimed in specific video via YouTube Partner API?

Given specific video id (not owned by me), how can i get list of assets claimed in that video? I can do that via https://cms.youtube.com/manual_claim, but is there a way to do this via youtube partner api?
There is no way to check other people's ownership or management rights on a video or channel. YouTube deliberately avoids that. There is claimSearch->list method in Partner API but with that you can only search "your" claims.

Resources