title: How can I get the user_id from the user currently logged in?
body: <p>I'm trying to get a private Playlist from the user currently logged in into the app.</p>
  
  <pre><code>SpotifyApi api = new SpotifyApi();
  api.setAccessToken(response.getAccessToken());
  SpotifyService spotify = api.getService();
  Playlist playlist = spotify.getPlaylist(user_id, playlist_id);
  </code></pre>
  
  <p>How can I get user_id?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I tried this code:</p>
  
  <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  
      if (requestCode == REQUEST_CODE) {
          AuthenticationResponse response = AuthenticationClient.getResponse(resultCode, data);
          if (response.getType() == AuthenticationResponse.Type.TOKEN) {
              SpotifyApi api = new SpotifyApi();
              api.setAccessToken(response.getAccessToken());
              SpotifyService spotify = api.getService();
              User user = spotify.getMe();
              Log.d("TAG", user.id);
  
          }
      }
      super.onActivityResult(requestCode, resultCode, data);
  }
  </code></pre>
  
  <p>This gives me an error:</p>
  
  <pre><code>java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1337, result=-1, data=Intent { (has extras) }} to activity {de.test.spotifytest/de.test.spotifytest.activities.MainActivity}: retrofit.RetrofitError
  </code></pre>
  
  <p>  
              </p>