How to retrieve contact by email with google api. PHP

前端 未结 1 1754
Happy的楠姐
Happy的楠姐 2021-01-16 16:56

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

1条回答
  •  醉梦人生
    2021-01-16 17:36

    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 )

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