YouTube API to upload to Business Channel -


Is there any way to use YouTube ADI so that users can upload videos directly to their business YouTube channel? Users will be allowed to upload to my channel on the website. I want to avoid uploading to another server, then perhaps on YouTube. Thank you

You can use the service account OAuth2 to authorize requests from your app to those channels

  1. Create service account credentials : () and make sure that the YouTube Data API v3 is enabled on your API (project).

  2. Use your service account OAuth credentials to make upload API calls : () Use auth in step 1 to upload the video Users share with you and specify your business YouTube. Sample code in different languages ​​(Simply search for examples of uploading after selecting your preferred language).

To keep things in mind:

  • If you upload your users by end users but do not do any check / validation Then there is a possibility of abuse
  • Service account OAuth is valid for 1 year, so you must refresh the service account
  • It will appear that these videos are being uploaded by your business channel And there are no other users' channels (because This is happening via API).

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -