如何使用 twitter api 获取 twitter 用户的电子邮件地址 [英] How to get the email address of twitter user with twitter api
问题描述
我想在我的网站上插入一个用 Twitter 登录"的插件,在用户允许我的 Twitter 应用程序访问他们的数据后,我的网站需要获取用户的 twitterID 和电子邮件.我浏览了 twitter 开发文档,但似乎总是关于 OAuth 和复杂的例子.是否有捷径可寻?我已经为facebook放了同种插件,而且很简单.谢谢!
I want to put a plug in on my website for "login with twitter", and my website needs to get user's twitterID and email after user allows my twitter application to access their data. I looked through the twitter dev documents, but it seems always all about OAuth with complicated examples. Is there an easy way to do this? I already put the same kind of plugin for facebook, and it is very simple. Thanks!
推荐答案
如果 twitter 不提供任何 API,那么foursquare 是如何检索它们的?
- Foursquare 可以列出用户在 Twitter 上注册的 Foursquare 好友.
- 它还提供 API,用于显示经常出现在用户的foursquare 好友列表"以及推特关注者列表"中的用户的好友.
在上述两种情况下,只能通过电子邮件进行比较.
In both the above cases comparison can be made only through email.
这篇关于如何使用 twitter api 获取 twitter 用户的电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!