获取我的 Twitter 电子邮件 [英] Get my Twitter email
问题描述
我正在开发一个 iOs 应用程序,并且我已使用 Facebook、LinkedIn、Google+ 和 Twitter 登录.他们都让我使用 API 从我的个人资料中读取电子邮件,除了 Twitter.
I am developing a iOs App and I have login with Facebook, LinkedIn, Google+ and Twitter. All of them let me read my email from my profile using API, EXCEPT Twitter.
有什么办法可以获取我的电子邮件?
如果没有,Twitter 中是否有内部电子邮件",即 facebook (someone@facebook.com) 中生成的电子邮件?
If not, is there in twitter a "internal email", a generated email like in facebook (someone@facebook.com)?
原因是我使用电子邮件作为数据库中用户的标识符(主键).
The reason is that I use email as identifier (primary key) for users in my database.
非常感谢.
推荐答案
不,电子邮件地址无法通过 Twitter API 获得:https://dev.twitter.com/discussions/1737
No, email address are not available via the Twitter API: https://dev.twitter.com/discussions/1737
也没有任何内部电子邮件"可用,您必须使用 Twitter 用户名并询问用户那里的电子邮件地址.
Nor is there any "internal email" available, you will have to use the twitter username and ask the user fro there e-mail address.
这篇关于获取我的 Twitter 电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!