title: code 401, login required, while using YouTube Data API V3 on Android
body: <p>I am trying to use the new Youtube Data API on Android  to retrieve the Video title from a given ID, </p>
  
  <p><a href="https://www.googleapis.com/youtube/v3/videos?id=6DbS1VB8HGo&amp;part=player&amp;key=XXX" rel="nofollow">https://www.googleapis.com/youtube/v3/videos?id=6DbS1VB8HGo&amp;part=player&amp;key=XXX</a></p>
  
  <p>However I keep getting getting a response saying that login required and error code 401.</p>
  
  <p>Am guessing that it has something to do with the authorization token, but I don't understand why I should need this since I am not performing any account specific operations such as updating or deleting from a playlist. All I want is the title and maybe the number of view.</p>
  
  <p>Any help should be appreciated, below is the code I am using:</p>
  
  <pre><code>public class NetTask extends AsyncTask&lt;String, Void, String&gt;{
      @Override
      protected String doInBackground(String... params) {
          HttpClient httpClient = new DefaultHttpClient();
          //param[0]= "https://www.googleapis.com/youtube/v3/videos?id=6DbS1VB8HGo&amp;part=player&amp;key=xxyy"
          HttpPost httpPost = new HttpPost(params[0]);
          HttpResponse response;
  
          try {
              response = httpClient.execute(httpPost);
              String responseString = EntityUtils.toString(response.getEntity());
              JSONObject responseJSON = new JSONObject(responseString);
              responseJSON.toString();
  
          } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
  
          return null;
      }
  }
  </code></pre>