Actually i am working on fixing "suggested contacts" problem in our direct import functionality. So far my understanding is that same contact feed should be called with group restriction. Something like:
curl -i -X GET "http://www.google.com/m8/feeds/contacts/default/full? group=http://www.google.com/m8/feeds/groups/nesterov.andy%40gmail.com/ base/6" -H "Authorization: GoogleLogin auth=DQAAAHgAAABZ0DpyCwUk0qhD1Gx3_k3IldFvZirJXZOCs8MOZUXaGsdT98OHrc2lDmYQt8nTwT5UKsFUmoZBEMeksZwSS5VFKFB4WANUWW7yofeC7n- RWB_XkG1shgV1BAHUCqzLrgjuZokXN44dXSGXJ1CDUqjURWKwVUG_YBnw0xbeq0vVQA" However problem is that for some reason group feed does not return system groups, so getting group id is a problem. Group feed seems to be working since it does return newly created groups. He is an example of what my call and result i get: curl -i -X GET "http://www.google.com/m8/feeds/groups/nesterov.andy %40gmail.com/full" -H "Authorization: GoogleLogin auth=DQAAAHgAAABZ0DpyCwUk0qhD1Gx3_k3IldFvZirJXZOCs8MOZUXaGsdT98OHrc2lDmYQt8nTwT5UKsFUmoZBEMeksZwSS5VFKFB4WANUWW7yofeC7n- RWB_XkG1shgV1BAHUCqzLrgjuZokXN44dXSGXJ1CDUqjURWKwVUG_YBnw0xbeq0vVQA" HTTP/1.1 200 OK Content-Type: application/atom+xml; charset=UTF-8 Expires: Tue, 03 Mar 2009 19:27:47 GMT Date: Tue, 03 Mar 2009 19:27:47 GMT Cache-Control: private, max-age=0, must-revalidate Vary: Accept, GData-Version GData-Version: 1.0 Last-Modified: Tue, 03 Mar 2009 19:27:47 GMT Transfer-Encoding: chunked X-Content-Type-Options: nosniff Server: GFE/2.0 <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/ 2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http:// schemas.google.com/g/2005'><id>[email protected]</ id><updated>2009-03-03T19:27:47.257Z</updated><category scheme='http:// schemas.google.com/g/2005#kind' term='http://schemas.google.com/ contact/2008#group'/><title type='text'>andrey nesterov's Contact Groups</title><link rel='alternate' type='text/html' href='http:// www.google.com/'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/m8/feeds/ groups/nesterov.andy%40gmail.com/full'/><link rel='http:// schemas.google.com/g/2005#post' type='application/atom+xml' href='http://www.google.com/m8/feeds/groups/nesterov.andy%40gmail.com/ full'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://www.google.com/m8/feeds/ groups/nesterov.andy%40gmail.com/full/batch'/><link rel='self' type='application/atom+xml' href='http://www.google.com/m8/feeds/ groups/nesterov.andy%40gmail.com/full?max-results=25'/ ><author><name>andrey nesterov</name><email>[email protected]</ email></author><generator version='1.0' uri='http://www.google.com/m8/ feeds'>Contacts</generator><openSearch:totalResults>1</ openSearch:totalResults><openSearch:startIndex>1</ openSearch:startIndex><openSearch:itemsPerPage>25</ openSearch:itemsPerPage><entry><id>http://www.google.com/m8/feeds/ groups/nesterov.andy%40gmail.com/base/11ac3c008bfd52e9</ id><updated>2009-03-02T21:47:25.663Z</updated><category scheme='http:// schemas.google.com/g/2005#kind' term='http://schemas.google.com/ contact/2008#group'/><title type='text'>test</title><content type='text'>test</content><link rel='self' type='application/atom+xml' href='http://www.google.com/m8/feeds/groups/nesterov.andy%40gmail.com/ full/11ac3c008bfd52e9'/><link rel='edit' type='application/atom+xml' href='http://www.google.com/m8/feeds/groups/nesterov.andy%40gmail.com/ full/11ac3c008bfd52e9/1236030445663000'/></entry></feed> It returns one group named test which i just created, but my contacts, family, friends, coworker groups do now show up. Am i missing something here? Thx in advance Andrei Nesterov --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
