美好的一天。我提前道歉 - 我的英语太糟糕了。 (这是翻译)。 我在使用Google Contacts API时遇到问题。
我尝试创建联系人:
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:gd="http://schemas.google.com/g/2005">
<atom:category scheme="http://schemas.google.com/g/2005#kind"
term="http://schemas.google.com/contact/2008#contact"/>
<gd:name>
<gd:givenName>Sergey</gd:givenName>
<gd:familyName>Serov</gd:familyName>
<gd:fullName>Sergey Serov</gd:fullName>
</gd:name>
<atom:content type="text">Notes</atom:content>
<gd:phoneNumber rel="http://schemas.google.com/g/2005#work"
primary="true">
+79130968888
</gd:phoneNumber>
</atom:entry>
已成功创建联系人。但我不能用它。 联系人未激活。它不与手机同步。 我没有在我的联系人列表中看到它(Web界面) 我发现它只能通过“搜索”。 如果我通过网络界面更改1个字母并保存 - 联系人将变为活动状态。
我的查询有问题吗?
由于
答案 0 :(得分:0)
一切都运作良好。 将此行添加到查询中:
<gContact:groupMembershipInfo deleted="false" href="http://www.google.com/m8/feeds/groups/MyMail@gmail.com/base/6" />