Thanks, but in my initial test of this, I was not able to get it to work.  
First, I do a GET to
"groups/default/full" to obtain a list of existing groups.  I parse through 
that looking for "System Group: My Contacts".
Once located, I parse the links, looking for rel=self, and then take the 
corresponding href.  For my account, I get
the value ""
https://www.google.com/m8/feeds/groups/jmckay9351%40gmail.com/full/6";.
 
Here is the contact data that I posted:
 
<atom:entry xmlns:atom='http://www.w3.org/2005/Atom'
   xmlns:gd='http://schemas.google.com/g/2005'>
 <atom:category scheme='http://schemas.google.com/g/2005#kind'
   term='http://schemas.google.com/contact/2008#contact'/>
<gd:name>
 <gd:givenName>Diana</gd:givenName>
  <gd:familyName>Trump</gd:familyName>
  <gd:fullName>Diana Trump</gd:fullName>
</gd:name>
<gd:email rel='http://schemas.google.com/g/2005#work'
   primary='true'
   address='[email protected]'/>
<gd:email rel='http://schemas.google.com/g/2005#home'
   address='[email protected]'/>
<gd:phoneNumber 
rel='http://schemas.google.com/g/2005#work'>206-842-4869</gd:phoneNumber>
<gd:phoneNumber 
rel='http://schemas.google.com/g/2005#home'>206-842-4871</gd:phoneNumber>
<gd:phoneNumber 
rel='http://schemas.google.com/g/2005#mobile'>206-818-8521</gd:phoneNumber>
<gd:structuredPostalAddress rel='http://schemas.google.com/g/2005#work'>
  <gd:street>1234 Main Street
Suite 101</gd:street>
  <gd:city>Seattle</gd:city>
  <gd:region>WA</gd:region>
  <gd:postcode>98125</gd:postcode>
  <gd:country>United States of America</gd:country>
</gd:structuredPostalAddress>
<gd:structuredPostalAddress rel='http://schemas.google.com/g/2005#home'>
  <gd:street>11129 Olallie Lane NE</gd:street>
  <gd:city>Bainbridge Island</gd:city>
  <gd:region>WA</gd:region>
  <gd:postcode>98110</gd:postcode>
  <gd:country>USA</gd:country>
</gd:structuredPostalAddress>
<gd:groupMembershipInfo href="
https://www.google.com/m8/feeds/groups/jmckay9351%40gmail.com/full/6"/>
</atom:entry>
Google accepts this with no error, but the contact still gets created in 
Other Contacts, not My Contacts.  What is
the problem?

 

-- 
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
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to