Note that there are some explanatory texts on larger screens.

plurals
  1. POOAuth2 + GData Client API - usage
    primarykey
    data
    text
    <p>I am trying build a page, where a user can login using his google id and can access Picasaweb albums.</p> <p>I am using gdata-java-client-1.47.1.zip (downloaded from <a href="http://code.google.com/p/gdata-java-client/downloads/detail?name=gdata-src.java-1.47.1.zip" rel="nofollow noreferrer">here</a>), google-oauth-java-client-1.10.1-beta.zip (downloaded from <a href="http://code.google.com/p/google-oauth-java-client/downloads/detail?name=google-oauth-java-client-1.10.1-beta.zip&amp;can=2&amp;q=" rel="nofollow noreferrer">here</a>) and google-api-java-client-1.10.3-beta.zip (downloaded from <a href="http://code.google.com/p/google-api-java-client/downloads/detail?name=google-api-java-client-1.10.3-beta.zip&amp;can=2&amp;q=" rel="nofollow noreferrer">here</a>)</p> <p>After setting up the OAuth2 workflow and getting the access token, I had created Credential object</p> <pre><code>return new GoogleCredential.Builder().setClientSecrets(CLIENT_ID, CLIENT_SECRET) .setJsonFactory(jsonFactory).setTransport(transport).build().setAccessToken(gtresponse.getAccessToken()).setRefreshToken(gtresponse.getRefreshToken()); </code></pre> <p>When I am trying to create the PicasawebService object and set OAuth2Credentials as mentioned in this <a href="https://stackoverflow.com/a/10249530/829542">link</a>, I do NOT see a method setOAuth2Credentials in the list of methods available for PicasawebService object. I can only see setOAuthCredentials(parameters, signer) method available. Is this expected?</p> <p>Not sure where I should go from here on how to access the web albums data? Kind of stuck! please help?</p> <p>Thank you,</p> <p>Satya</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload