问题标签 [google-shared-contacts]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
617 浏览

ruby - Google 共享联系人 API

我正在寻找 Googoe Shared conatact API ruby​​ gem。Google Shared Contacts API 有什么好的 ruby​​ gem 吗?

0 投票
1 回答
321 浏览

api - Google Contacts API 404 照片上传

使用 Contact API v3,我有一个将照片上传到现有联系人的工作实现。

几周以来,这以 404 失败。当 API 服务器开始发回 404 时,实施并没有改变,我没有看到任何迹象表明究竟发生了什么变化,现在会导致 404。

我正在使用 HTTP PUT + 联系人的照片 URL。

我所做的一个有趣的观察是,联系人的自我 URL 会随着每个请求而改变(提供的详细信息仍然始终相同且正确)。

有没有人注意到类似的事情?

编辑:问题链接:http ://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3301&q=contact&colspec=API%20ID%20Type%20Status%20Priority% 20颗星%20已打开%20总结

  • 尝试了不同的照片格式和尺寸、不同的内容类型,甚至是之前上传的照片(当它还在工作时)。没有任何改变返回 404 的行为。

  • wrt 更改联系人 ID:API 调用之间的联系人 ID 更改。我首先认为这可能与联系人 ID 更改的重新打开连接(没有保持活动状态)有关。然而,反对此问题的原因是,首先检索联系人然后编辑联系人地址是可能的,没有任何问题。

  • 身份验证似乎也不是问题 - 否则编辑联系人的地址将无法正常工作。

PS:我在检索联系人时使用的是 JSON 输出格式。

PS2:第 3 步中的 s/GET/PUT(我尝试将 PUT 更改为 GET 以查看它是否仍返回 404 ......确实如此)。

PS3:我没有使用任何客户端库,而是直接实现协议(这应该与照片链接上的 HTTP PUT 无关

0 投票
1 回答
1028 浏览

javascript - 谷歌通讯录 API 浏览器?

我一直在为我们的网站实现一个谷歌联系人导入器,并正在寻找一种方法来测试 API 调用,以便我可以看到流程以及它们返回的内容。有一个 google api explorer 但那里似乎没有 Google 通讯录?

我知道谷歌联系人仍然是谷歌数据 API 的一部分,但该 API 集是否有特定的资源管理器?

0 投票
1 回答
669 浏览

google-shared-contacts - 可以创建/更新 JSON 格式的联系人吗?

我们可以使用 v3 Contacts API 以 JSON 格式检索联系人——但是我们可以在 JSON 中创建或更新它们,还是必须转换为原子格式 (PITA)?

0 投票
1 回答
775 浏览

google-api - Google Contacts API 不返回带有目录配置文件的联系人

我正在尝试在我的谷歌帐户上搜索“我的联系人”。该帐户属于 Google for Business 域。我已经设法通过查询以下 url 来检索所有有效的联系人:

或者

现在,当我使用q=searchStringor myQuery.setFullTextQuery(searchString);(在 Java 中)进行搜索时。我只得到一些结果。特别是我创建的联系人与我不属于同一个域。

我认为这与谷歌没有为拥有目录配置文件的联系人存储名称条目有关。因此它只会在他们的电子邮件地址中搜索(如果我很幸运并且电子邮件地址只包含名称,那么它会找到它)。

作为一种解决方法,我还从域中获取所有配置文件(似乎不适用于全文搜索字符串),然后合并/解析它们以获得我需要的结果。

我现在的问题是,是否有一个电话可以检索所有联系人(来自我的联系人),这些联系人在 NAME(第一个和最后一个)、EMAIL 以及可能的字段标签中包含特定的搜索字符串?

当具有目录配置文件的联系人条目不包含任何名称时,我看不到使用全文搜索字符串的意义......(它存储在配置文件中)。

提前谢谢了!

0 投票
1 回答
206 浏览

google-api - Updating Google Contacts via API shows success in response yet creates duplicate records

I'm coming across this strange behavior where when utilizing the batch processing requests for UPDATING existing contacts in Google Contacts, I'm finding despite coming back as a success, it creates duplicate records.

It definitely did NOT do this throughout my development and testing, only recently. And the only difference I can ascertain is that now I'm working with rather large data sets - a few thousand contacts instead of just a hundred or so.

Here's the raw XML going over the wire for two contacts, both of which were duplicated: http://pastebin.com/diSFzkeu

Any ideas?

0 投票
1 回答
4827 浏览

google-plus - Google API:显示 Google Talk/Chat 和 Google Hangout 的在线联系人

我可能忽略了这一点,但我想在我的网站上实现 Google Talk 和 Google Hangout,并且我正在寻找某种(官方,最好是 PHP)API 调用来检索 Google+ 用户的在线/离线联系人。(类似于 Gmail 旁边的在线联系人列表)

此 API 功能是否可用,是否可以为用户提供选择联系人以开始 Google Hangout 的选项?

0 投票
2 回答
257 浏览

google-api - 限制对 Google 域共享联系人的可见性

是否可以限制谷歌域共享联系人的可见性?

假设我的组织结构有: A 向 B 报告,向 C 报告。

如果 A 添加了新的共享联系人,每个人都可以看到。

如果 B 添加了一个新的共享联系人,对于 C 是可见的,但对于 A 不可见(或有限制)。

也许将其与 Google Provisioning API 结合起来?

0 投票
2 回答
949 浏览

google-api - Google Contact API v3 - 创建联系人时无法创建姓名/职务

我正在使用 Google Contacts API v3 文档,OAuth Playground 2.0。

我可以通过获取请求拉取所有联系人。我可以使用 POST 创建新联系人,但似乎无法填充姓名字段等。电子邮件和电话号码填充良好。

我一直在 Contacts API v3 文档的请求正文中逐字使用 atom/xml,如下所示。

非常感谢任何帮助,谢谢。

0 投票
1 回答
283 浏览

python - Contact creation error using python-gdata API

I have a question regarding contact creation using the python Google data API. I am trying the example for contact creation with python, exactly like it is in the documentation page (https://developers.google.com/google-apps/contacts/v3/#creating_contacts)

So, i created the client as following:

Then i executed the function using:

What i get from this call is:

So I want to ask whether i am doing something wrong, whether this is a known bug, or whether the documentation is simply outdated. Thanks.

p.s. a small comment, i think a better wrapping of the Google data API in the python library could be useful. I spent significant time in finding, within the API implementation, what fields should be set (directly!) and what classes should be used to assign them.