title: How to Login to Youtube Using PHP?
body: <p>I want to use the youtube api to get the users new subscription videos with this api call:</p>
  
  <pre><code>http://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos
  </code></pre>
  
  <p>Without logging in I get this response:</p>
  
  <pre><code>User authentication required.
  Error 401
  </code></pre>
  
  <p>How can I login to youtube from php?</p>