我已经按照 https://developers.google.com/google-apps/contacts/v3/#retrieving_a_single_contact_group 的指示处理组数据了。
但是每当我尝试使用 https://www.google.com/m8/feeds/groups/default/full 获取组智能数据时,我只在给定数组中获取了他们提供的组 ID,而不是其他数据(如姓名、手机号码(。
下面给出了给定的数组之一,以便更好地理解
[0] => Array
(
[gd$etag] => "YDwreyM."
[id] => Array
(
[$t] => http://www.google.com/m8/feeds/groups/rahmanarafat13%40gmail.com/base/6
)
[updated] => Array
(
[$t] => 1970-01-01T00:00:00.000Z
)
[category] => Array
(
[0] => Array
(
[scheme] => http://schemas.google.com/g/2005#kind
[term] => http://schemas.google.com/contact/2008#group
)
)
[title] => Array
(
[$t] => System Group: My Contacts
)
[content] => Array
(
[$t] => System Group: My Contacts
)
[link] => Array
(
[0] => Array
(
[rel] => self
[type] => application/atom+xml
[href] => https://www.google.com/m8/feeds/groups/rahmanarafat13%40gmail.com/full/6?v=3.0
)
)
[gContact$systemGroup] => Array
(
[id] => Contacts
)
)
不要获取其他值,如 ['gd$name'] 或 ['gd$phoneNumbe']。
我现在该怎么办?
如有任何疑问,请在评论中提问
尝试使用此网址:
href="http://www.google.com/feeds/contacts/groups/userEmail/base/1234b"/
使用此选项使用查询参数(包括组(检索联系人。
引用:
- g联系人:集团会员信息
- 联系人数据 API 参数
- 谷歌联系人 API 获取某个组中的联系人。("我的联系人"组(
- 谷歌联系人 API 获取与联系人组相关的联系人
希望这有帮助。