Is there a contact ID?

1,692 views
Skip to first unread message

salevine

unread,
Feb 13, 2012, 12:46:04 PM2/13/12
to google-co...@googlegroups.com
I am working on an offline synchronization utility and woudl really like a unique id for each contact. Is there a persistent ID on each contact? I am missing it if it is there.

Thanks.

Stacey

donchevp

unread,
Feb 27, 2012, 2:34:42 AM2/27/12
to google-co...@googlegroups.com
There is.
 
In the .Net library you call ContactEntry.Id.Content.
It is an Url.
Here is how it looks in the raw feed:
 
<id>
http://www.google.com/m8/feeds/contacts/
userEmail/base/contactId
</id>
 
Seems it is the base Uri of the contact.
Take a look here:

search for :Retrieving all contacts

 
There is a sample XML that comes when you fetch a contact.
Not quite sure which library you use but there should be an identifier.

Stacey Levine

unread,
Feb 27, 2012, 7:16:22 AM2/27/12
to google-co...@googlegroups.com

Thanks. Let me check that out. I am using the .NET library.

--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
google-co...@googlegroups.com
To unsubscribe from this group, send email to
google-contacts...@googlegroups.com
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply all
Reply to author
Forward
0 new messages