针对n个常用联系人的Google Contacts API查询 [英] Google Contacts API query for n popular contacts

查看:105
本文介绍了针对n个常用联系人的Google Contacts API查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法只查询n个流行的联系人?
,例如:

  http://www.google.com/m8/feeds/contacts/default / full?alt = json& max-results = 50& popular = true 

50个流行联系人。
(如gmail联系人中有20个常用联系人)。

如果没有查询的方法,是否有办法检查哪个所有联系人都是最流行的。
popular =与他人进行更多的电子邮件活动,然后与他人进行交流。

我一直在努力。互联网研究表明,几年前它已从API中删除,主要是因为Google Contacts的Most Contacted部分不准确。

要执行获取最多联系人的任务,向用户请求只读邮件许可,并且正在积极阅读最近3个月的电子邮件标题。这产生了相同的结果,但是存在巨大的隐私损失。我希望谷歌本来会支持这一点。


is there are way to query only n popular contacts ? for example something like:

http://www.google.com/m8/feeds/contacts/default/full?alt=json&max-results=50&popular=true

that will return only the 50 popular contacts. (like in gmail contacts there is 20 popular contacts).

if there is isn't a way to query that, is there a way to check which of all contacts sre most popular. popular= more email activity with them then with others.

thanks.

解决方案

I have struggled with this for quite sometime. Internet research suggests that this was removed from the API a few years ago, mostly since the "Most Contacted" section of the Google Contacts is inaccurate.
To perform the task of fetching the "most contacted" I'm requesting the user for readonly mail permission, and am actively reading the last 3 months email headers. This produces the same results, but with a huge privacy penalty. I wish google would've supported this natively.

这篇关于针对n个常用联系人的Google Contacts API查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆