电子邮件地址不可用。你可以得到更多的DATAS本
https://dev.twitter.com/docs/api/1/get/users/show
与这个查询,你会得到这一切DATAS:在Twitter上论坛上关于电子邮件
{
"profile_sidebar_fill_color": "e0ff92",
"name": "Twitter API",
"profile_sidebar_border_color": "87bc44",
"profile_background_tile": false,
"created_at": "Wed May 23 06:01:13 +0000 2007",
"profile_image_url": "http://a3.twimg.com/profile_images/689684365/api_normal.png",
"location": "San Francisco, CA",
"follow_request_sent": false,
"id_str": "6253282",
"profile_link_color": "0000ff",
"is_translator": false,
"contributors_enabled": true,
"url": "http://dev.twitter.com",
"favourites_count": 15,
"utc_offset": -28800,
"id": 6253282,
"profile_use_background_image": true,
"listed_count": 6868,
"profile_text_color": "000000",
"protected": false,
...
和更多信息: https://dev.twitter.com/discussions/1737
如果用户在你的数据库中没有电子邮件,我会做的就是在Twitter登录后将用户重定向到小型表单。
你使用了什么OAuth库? – Mob 2012-02-09 17:33:50
Twitter API文档显示了您可以在https://dev.twitter.com/docs/api/1/get/users/show找到有关用户的内容。您可以从列表中获得#1和#4。 – jcmeloni 2012-02-09 17:36:28
我已经使用TwitterOAuth v0.2.0-beta2。 – 2012-02-09 17:40:30