Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

How to use OnBehalfOfContentOwner field while using youtube data API insert request?

$
0
0

Context :

I am trying to upload videos to a youtube channel(Other-Y) linked to a google cloud project(say X).I am not the owner of the channel. However, I have the manager access. I have client secret keys with me.Steps followed :

  1. Generate refresh token using these gcp secret keys and with my own personal email(this email is linked to the gcp account).I am using oauth credentials.
  2. Now, while uploading, the video is getting uploaded to my own personal channel and not to the channel I am managing.

I have read about the OnBehalfOfContentOwner field and am trying to use that.

Questions :

  1. Is this upload possible using OnBehalfOfContentOwner field ?
  2. If yes, is there a way to know the exact value to be passed here ? Should it be user id of the channel owner in the youtube UI ?

Also, please let me know if there are any specific golang references for the same.

Thanks !


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>