且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何通过电子邮件检索联系人与谷歌API。 PHP

更新时间:2023-02-25 10:58:07

可能您已经有了答案,但如果您还在寻找:

  $ query = new Zend_Gdata_Query('http://www.google.com/m8/feeds/contacts/default/full?q='.$Number) ; 

其中 $ Number 可以是联系人的任何部分(电子邮件,地址或电话号码)

I'm retrieving contacts with

https://www.google.com/m8/feeds/contacts/default/full/(optional contactId)

But I need to fetch contacts by email instead of id.

Is there a way to to this? I have tried to solve this problem for a time now and can't find any help in the documentation..

I have been searching for an answer here:

https://developers.google.com/google-apps/contacts/v3/#retrieving_contacts_using_query_parameters

Probably you have the answer already but in case your still looking :

$query = new Zend_Gdata_Query('http://www.google.com/m8/feeds/contacts/default/full?q='.$Number);

where $Number can be any part of the contact (email , address or phone number )