If you want some OAuth code, I went through the pain of figuring this out a 
few weeks ago. It's really badly documented, and there are very few 
examples of any note. My app here:

  
 
https://github.com/Webreaper/PicasawebSync/tree/master/src/main/java/com/otway/picasasync/webclient

supports OAuth login, and pops up a dialog to prompt the user to log in 
(including 2-Factor auth). Feel free to gain inspiration from the code. :)

On Tuesday, 24 March 2015 16:00:13 UTC, Jennifer Alderete wrote:
>
> Thank you for your reply! Example code would be awesome.  Is there a place 
> where I can request this documentation be updated or at least have a 
> comment added that this is depreciated. 
>
> On Monday, March 23, 2015 at 1:17:41 PM UTC-7, Mike Erickson wrote:
>>
>> It does look like that example is out of date. I believe that the code 
>> snippet will no longer work after the 20th if ClientLogin is disabled. 
>> There is a method, setOAuthCredentials(), that might be the right way to 
>> proceed, although I'm not certain. I'll have to try writing some code and 
>> see if I can get something working.
>>
>> On Thu, Mar 19, 2015 at 4:56 PM Jennifer Alderete <[email protected]> 
>> wrote:
>>
>>> Is this documentation out of date?
>>> https://developers.google.com/picasa-web/docs/2.0/developers_guide_java#
>>> ClientLogin
>>>
>>> Will myService.setUserCredentials("[email protected]", "mypassword"); work 
>>> after the 20th?
>>>
>>>  -- 
>>> 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.
>>>
>>

-- 
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