title: How to get authorization code for GoogleAuthorizationCodeTokenRequest in Java?
body: <pre><code>        HttpTransport netTransport = new NetHttpTransport();
          JsonFactory jsonFactory = new JacksonFactory();
          GoogleTokenResponse token;
          try {
              token = new GoogleAuthorizationCodeTokenRequest(
                      netTransport,
                      jsonFactory,
                      CLIENT_ID,
                      CLIENT_SECRET,
                      CODE,
                      REDIRECT).execute();
  
              GoogleCredential cd = new GoogleCredential().setAccessToken(token
                      .getAccessToken());
  
              Plus plus = Plus
                      .builder(new NetHttpTransport(), new JacksonFactory())
                      .setApplicationName(APP_NAME)
                          .setHttpRequestInitializer(cd).build();
  
              Person profile = plus.people().get("me").execute();
  
          } catch (IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
  </code></pre>
  
  <p>Hi all, I'm trying to get some user information from Google + in my Google App Engine app, but I'm stuck on what to put/how to get the CODE parameter for GoogleAuthorizationCodeTokenRequest. Any help is greatly appreciated. Thank you.</p>