I am developing an iPhone application. This app supports a feature where the user can upload a video to a common static Youtube account which is shared by all the app users. When the app receives an upload request, it internally logs-in to the common Youtube account and uploads the video.
As per my understanding OAuth
is the secure way to login to any site compared to non-Oauth. Since only the app knows the user-name and password, a login dialog (UIWebView
with user-name and password fields) should not be prompted to the user.
Is there any mechanism available in GData framework that supports OAuth authentication without prompting the user for user-name and password ( i.e OAuth authentication with hard-coded user name and password.
Any solution please suggest.
Client login which was discontinued / shutdown began on April 20 2015 and probably completed around May 26 2015. You can no longer use client login (Login and password) with the YouTube API, you need to switch to Oauth2.
No there is no other way of uploading to the YouTube API. You must us oauth2.
Normally I would say use a service account to upload to this static account but it is not possible to use a service account with the YouTube API.