Hi,

I have Authorization for Google+ working, it looks similar to this:

https://code.google.com/p/google-api-java-client/source/browse/oauth2-cmdline-sample/src/main/java/com/google/api/services/samples/oauth2/cmdline/OAuth2Sample.java?repo=samples

so I have GoogleTokenResponse, GoogleCredential, Oauth2 and Tokeninfo 
objects initialized and saved in session.

So far I'm able to use Picasa API after setting OAuth2Credentials on 
PicasawebService

PicasawebService service = new PicasawebService("my-project");
service.setOAuth2Credentials(credentials)

I want to replace the credentials object by the String token because 
GoogleCredential is not serializable - i.e. can't be moved to back end 
server, but I can't figure out what token to use in  

service.setUserToken(token)

Where and how do I get this token taking into account that I already have 
all the objects used by Google+ OAuth2?

Thanks,
Dmitry 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to