views:

113

answers:

1

QUESTION

Which of the Youtube Data API auth methods will allow me to upload videos to a single channel without having to force my site's user to authenticate?

  1. OAuth
  2. AuthSub
  3. Client Login

I've read http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Authentication but am still unsure.

BACKGROUND

I'm building an application in Ruby on Rails which will require users to upload videos and associate them with an account within the application (not their youtube account).

I don't need to associate the videos they upload with their youtube account, and it would be perfectly fine to have all the videos uploaded land in one youtube channel, similarly to how the Doritos Guru contest worked ( http://www.youtube.com/user/doritosguru )

So far as I can tell, I should only need to have access to a single youtube account, which I can create, and upload all the videos through this account. So far as youtube is concerned, this one user will own all the videos.

I've read through the different authentication options presented ( http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Authentication ) but still am unsure which of these meets my needs.

Also, I'm looking for a ruby gem/rails plugin that will facilitate what I want to do. I'm currently looking at http://github.com/edgarjs/youtube-model but don't know if that will meet my needs.

Advice?

A: 

Just a note, about allowing all videos to be uploaded to a single account. Not a technical point, but if you will indulge me...

If the account belongs to you and someone uploads a copyrighted material to it, its you that will take the wrap... If YouTube get complaints then your account can be suspended which means that all videos are unavailable, which means your entire app may not work!

What I did was ask the user for a YouTibe account when uploading videos, then, add the video to a playlist so it shows on the channel. You get the video and the responsibility and potential damage is restricted to a single account...

JohnnyJP
The channel is private and everything is screened before publicly displayed. Unlikely to get complaints.
Jamie Wong