Hey,

I'm trying to retrieve a list of all my contacts through the following
python code:

def _auth(self):
        self.gd_client = gdata.photos.service.PhotosService()
        self.gd_client.email = my_email
        self.gd_client.password = my_password
        self.gd_client.source = 'sourceComp-sourceApp-1'
        self.gd_client.ProgrammaticLogin()

# Get albums for a specified user
def getAlbums(self, user='default'):
        return self.gd_client.GetUserFeed(user=user)

# Get contacts for a specified user.
def getContacts(self, user='default'):
        return self.gd_client.GetContacts(user=user)

After I auth'ed, I use the function getContacts() from within another
class like this:

print picasa.getContacts()

The only output I'm getting is some information about myself, while I
have 3 other Picasa contacts (favorites). When I ask album information
for a specific contact (using getAlbums()), I get all the albums
provided by that contact... Additionally, when I go to this link in my
browser: 
http://picasaweb.google.com/data/feed/api/user/<my_username>/contacts?kind=user,
I also get all information about my contacts. What is wrong? Some
authorization issue? Or is the getContacts function in the Picasa
Python API buggy? I've taken a look in the service.py file, but this
GetContacts function looks ok...

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