Hi,
I noticed something strange when creating shared contact.
This is code
def AddEmail(name ,email):
new_contact = gdata.contacts.ContactEntry(title=atom.Title
(text=name))
new_contact.email.append(gdata.contacts.Email(address=email,
primary='true',
rel=gdata.contacts.REL_WORK))
create_contact = gd_client.CreateContact(new_contact)
print create_contact.link[2].href
Of course there are keys, accounts and stuff so it works. Strange
thing happens when i run it locally, saved as some *.py file, it
actually prints out edit link for contact. When i deploy it on GAE
result is link to contact but not edit link. Code stays same, i use
self.response.out.write though.
I do not see difference, what am i missing? what i do not know about
GAE?
If you require more details please write. Any feedback appreciated.
--
Michał Klich
[email protected]
[email protected]
http://www.michalklich.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---