Thank you. I want to know if it is because I use an wrong account.
In gd_client.GetUserFeed(user='default') , if I changed the user to the gd_client.email and it will not report 404. But I could not change the album information. On Mar 5, 5:26 am, Jeff Fisher <[email protected]> wrote: > This works fine for me. (Just tried it in the python interpreter, although I > only imported gdata.photos.service, which shouldn't affect anything.) > > Cheers, > -Jeff > > On Mon, Mar 2, 2009 at 11:15 PM, rocksun <[email protected]> wrote: > > > When I want to get the private albums, I get errors below. > > > gdata.photos.service.GooglePhotosException: (404, 'Not Found', 'No > > such user.') > > > The gd_client.ProgrammaticLogin() looks successful, but the gd_client > > looks could not use the authenticated information. > > > If I use the same name as gd_client.email, I can get the public albums > > but the private albums. > > > The code is below: > > > import gdata.media > > import gdata.geo > > import gdata.photos.service > > import sys > > import codecs > > > targetUser = 'default' > > gd_client = gdata.photos.service.PhotosService() > > gd_client.email = '[email protected]' > > gd_client.password = 'mypasswd' > > gd_client.source = 'list-nianzuo-com-1.0' > > gd_client.ProgrammaticLogin() > > > albums = gd_client.GetUserFeed(user='default') --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
