Rails 3使用omniauth获取gmail联系人? [英] Rails 3 getting gmail contacts using omniauth?

查看:140
本文介绍了Rails 3使用omniauth获取gmail联系人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用omniauth成功登录Google凭证? omn​​iauth正在提供uid作为以下链接



https: //www.google.com/accounts/o8/id?id=xxxxxxxxxx b

通过使用上述链接可以获得gmail联系人或其任何其他获得gmail联系的方式不一样,Omniauth只是提供身份验证。


解决方案

有一个宝石可能会让你感兴趣: https://github.com/cardmagic/contacts

引用:联系人是一个通用界面,可以从各种提供商获取联系人列表信息,包括Hotmail,AOL,Gmail,Plaxo和Yahoo。

b
$ b

编辑:看看这篇博文: http://rtdptech.com/2010/12/importing-gmail-contacts-list-to-rails-application/


I am successfully login with google credentials using omniauth? omniauth is providing uid as following link

https://www.google.com/accounts/o8/id?id=xxxxxxxxxx

by using the above link is possible to get gmail contacts or their any other way to get gmail contact

解决方案

No, Omniauth just provides authentication.

There is a gem that might be interesting for you: https://github.com/cardmagic/contacts

Quote: "Contacts is a universal interface to grab contact list information from various providers including Hotmail, AOL, Gmail, Plaxo and Yahoo."

Edit: Take a look at this blog post too: http://rtdptech.com/2010/12/importing-gmail-contacts-list-to-rails-application/

这篇关于Rails 3使用omniauth获取gmail联系人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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