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.
Related
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 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?
What I want to do in a nutshell:
In our app I want to be able to upload videos to our company YouTube account. Our app has 'host' users and 'guest' users. The host can upload videos for a guest. The video will be unlisted so they're not available publicly and the guest will get a message in the app telling them that a new video is available. We'll then play the video in the app using the YouTube link.
I've downloaded the google-api-objectivec-client source and integrated it in the project. I've studied the YouTube example application that comes along with it. In this example application the user logs into her own account using OAuth 2.0 which is not our use case. The app should have authorization to upload videos to our company account without bothering the user.
I've read a lot of documentation and searched the web to see if someone else has solved this but I was not able to find the right solution.
My Question:
How should our app get authorization to upload videos? Using API keys, using Google+, using a service account? If someone can point me in the right direction, I would really appreciate it!
Unfortunately this is not possible at the moment.
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.
Rephrasing of the question:
Using the youtube api v 3.0 with oauth, when the user is sent to login, they have more than one option: e.g. the linked youtube account and the google account. The two different logins (access tokens) have different access to the api. I need the ability to just sent the user to log in to their proper youtube account (if they have one). How can my app do this? The user currently will have no idea which option they are supposed to choose, even if the app might be able to tell which they have chosen afterwards.
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=1056190619576.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https:%2F%2Fwww.googleapis.com%2Fauth%2Fyoutube
original phrasing of the question:
OK, this is getting really really confusing. My youtube account uses a gmail, so I think that it is safe to say that it is linked to my google account (if such a thing linkage does exist). A couple of days ago I was on youtube, and the web site roped me into giving my youtube account its own google+ account (as far as I could tell). My gmail/google account does not have google+. Anyway, shortly thereafter I undid the linking of a google+ account to the channel. Ominously, at this point youtube indicated that this was only temporary.
And the net effect of this is: I can't use the youtube api with the youtube account. It says nolinkedyoutubeaccount .
So, the youtube api seems unusuable to me. This confusion is enough to make a person's head spin. But can anyone suggest a solution to get my account working with the api again?
Edit: I have managed to reproduce the error (more or less) with a newly opened youtube account. More here: https://code.google.com/p/gdata-issues/issues/detail?id=4860
These blog posts should help explain what's going on
http://apiblog.youtube.com/2013/06/google-page-identities-and-youtube-api.html
http://youtubecreator.blogspot.com/2013/04/using-google-page-identity-on-youtube.html
Based on what you describe, I think things are working as intended, but you do need to be careful to ensure that you select the correct channel when going through the OAuth 2 flow.