Is there a simple way outside of Azure to use the Youtube API to upload a video from Azure blob storage public URL?

Leam 6 Reputation points
2020-03-18T01:43:55.057+00:00

Please correct me If I am wrong, but my initial thought was using an Azure function to upload a video to YouTube using Youtube API (using this code: https://developers.google.com/youtube/v3/docs/videos/insert) , but I realized that this approach isn't feasible. The YouTube Data API has two methods to access data, ApiKey and OAuth. The ApiKey method would be what wewant for server-to-server communication, but it's only able to access public information (list public videos, playlists, etc). We cannot upload videos to an account using the ApiKey method. The OAuth method is what allows us to upload videos, but this is an "interactive" OAuth flow, meaning it requires an interactive user to provide credentials in a device/browser. An Azure Function is not an interactive process. The solution to this would be to use a Service Account, which is for server-to-server OAuth. But YouTube does not support service account.

I am wondering what are other approaches that I could take? Is there a simple way outside of Azure to use the Youtube API to upload a video from Azure blob storage public URL? Thank you.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,876 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more