I.G. Pascual
I.G. Pascual

Reputation: 5965

List contacts only for "My Contacts" group using Google Contacts API v3

Whenever I list my contacts using Google Contacts Api v3, the query returns 480 results, while I just have 269 contacts on My Contacts list.

I'm trying to filter them so it only shows contacts from My Contacts group, so I'm querying for the groups that I have, to check My Contacts group Id. I'm using this query for that purpose:

https://www.google.com/m8/feeds/groups/default/full/

The problem is that it returns all groups except My Contacts group.

Right now I'm struggling for help... How can I get My Contacts group id so I can filter the contacts query?

Upvotes: 2

Views: 1199

Answers (1)

I.G. Pascual
I.G. Pascual

Reputation: 5965

I finally found the problem.

I was not passing the &v=3.0 parameter to the query, so the final query I had to use was:

https://www.google.com/m8/feeds/groups/default/full/?v=3.0

Upvotes: 4

Related Questions