【发布时间】:2015-04-12 02:32:23
【问题描述】:
我想知道如何获取与群组相关的所有联系人。 假设我有一个名为“我的特殊组”的联系人组,ID 是 xxxxxxx。我只想检索“我的特殊组”下的联系人。
我已经尝试过这个请求 URI 并在 oauth2 操场上进行了测试:
https://www.google.com/m8/feeds/contacts/default/full/?group=xxxxxxx.https://www.google.com/m8/feeds/contacts/myemail%40gmail.com/full/?group=xxxxxxx.
结果是:
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>invalid</code>
<internalReason>Supposed groupUri xxxxxxxxdoes not match template</internalReason>
</error>
</errors>
检索与特定组相关的联系人的正确请求 URI 究竟是什么?
已经在 stackoverflow 周围走来走去,答案正是我上面所做的。它失败了。
【问题讨论】:
标签: google-api google-contacts-api