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

Reply via email to