如何通过电子邮件检索联系人与谷歌API。 PHP [英] How to retrieve contact by email with google api. PHP
问题描述
我使用
https://www.google.com/m8/feeds/contacts/default/full/(可选 contactId)
但我需要通过电子邮件而不是id访问联系人。
有没有办法解决这个问题?我试图解决这个问题一段时间, t在文档中找到任何帮助。
我一直在寻找答案:
https://developers.google.com/google-apps/contacts/v3/#retrieving_contacts_using_query_parameters
可能您已经有了答案,但如果您还在寻找:
$ 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 )
这篇关于如何通过电子邮件检索联系人与谷歌API。 PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!