我怎样才能让我的网站用户从谷歌的联络人邀请的朋友呢? [英] How can I allow users on my website to invite friends from the Google Contacts?

查看:135
本文介绍了我怎样才能让我的网站用户从谷歌的联络人邀请的朋友呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找存在于Facebook上的类似选项(http://developers.facebook.com/docs/reference/plugins/send/),但谷歌。

I'm looking for a similar option that exist in Facebook (http://developers.facebook.com/docs/reference/plugins/send/) But for google.

就像一个按钮,使人们能够查看他们的Gmail联系人列表,选择其中的一些,给他们发送消息。

Something like a button that allows people to view a list of their gmail contacts and select some of them and send them a message.

我发现朋友群,它做一些事情的类似,但不完全是。在任何情况下,朋友群将在3月1日被终止。

I've found friendconnect, which does something similar, but not exactly it. In any case friendconnect will be discontinued on March 1st.

任何想法?

推荐答案

您的应用程序也许应该照顾发送邮件,但如果你想获得哪些联系人用户已经,没有给它一个API(的 HTTP://$c$c.google.com/apis/contacts/

Your application should probably take care of sending the messages, but if you want to get which contacts a user has, there is an API for it (http://code.google.com/apis/contacts/).

当然,这需要用户信任你的网站足够的授权此数据交换。

This will of course require the user to trust your site enough to authorize this data exchange.

您应该考虑要求使用OAuth此访问。有关于这这里的一些信息(的http:// code.google.com /的API /联系人/文档/ 3.0 / developers_guide.html#验证)。

You should consider requesting this access using OAuth. There is some information about this here (http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#Auth).

这篇关于我怎样才能让我的网站用户从谷歌的联络人邀请的朋友呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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