title: Youtube API single-user scenario with OAuth (uploading videos)
body: <p>This question has been already asked, but never answered.</p>
  
  <p>I want to write some php scripts that would upload video to my own YouTube account. I have already registered the application and have the developer key, the customer key and the customer secret.</p>
  
  <p>I don't need to allow any user to upload video to their own accounts, so I don't need to go through the full OAuth process; especially I don't need to redirect anybody anywhere: I only need my scripts to authenticate on MY behalf (not on anybody else's behalf).</p>
  
  <p>I know I can use ClientLogin authentication, but I've read on the YouTube API documentation site that it is "not recommended for new development" and I'm afraid this means that support for it will be discontinued in a near future. So I'd prefer to use OAuth.</p>
  
  <p>The Twitter API, which also uses OAuth, provides a simple way to authenticate with the application's owner's own account, in a single step, using an access token that you can find on your application's administration page.
  How can I obtain a similar token for my Youtube application?</p>
  
  <p>Thanks
  m.</p>