Google Contact API v3 : q parameter is ignored if search in a contact group

前端 未结 1 540
花落未央
花落未央 2021-01-14 11:03

I am working with Google Contact API v3. The goal is to synchronize contacts between my DB and a Google Account. My problem is :

1) when I search contact by email ad

相关标签:
1条回答
  • 2021-01-14 11:59

    I was also cracking my brains with this one. Seems that Google drops the q parameter when the group one is provided. To resolve this, I've started keeping the Google contact ID and queried it directly instead of via the Group. So basically you're stuck with fetching the contact directly, and then checking its group.
    https://www.google.com/m8/feeds/contacts/default/full/{contact-id}

    0 讨论(0)
提交回复
热议问题