How should I use Youtube API?

Can you use Ruby on Rails to work with the Youtube Data API?

  • Specifically, I want to be able to allow users to my site to create/upload private videos onto Youtube.  Can you even do this through Youtube Data API--i.e. uploading videos & setting privacy settings for those videos?  Is it possible to do so using Ruby on Rails?

  • Answer:

    The YouTube API does support create, update and delete of content for authorized users. I.e. a user authorizes using OAuth first. You might be able to use the Ruby gem OmniAuth https://github.com/intridea/omniauth for authorizing and then the YouTube-G gem for manipulating content https://github.com/tmm1/youtube-g as there's no inherent support in Ruby on Rails for this.

Martin Moen Wulffeld at Quora Visit the source

Was this solution helpful to you?

Other answers

Use https://github.com/kylejginavan/youtube_it gem. It is by far the best out there, though I myself haven't been able to do it successfully due to my own shortcomings. I am sure you can if you have been using rails for sometime.

Aravind Gopalakrishnan

try the latest signet gem from the google folks which sorts out the what was painful authentication for the google data api stuff.

Chu Tzu Ming

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.