Twitter4j中Twitter用户的电子邮件 [英] Email of Twitter User in Twitter4j
本文介绍了Twitter4j中Twitter用户的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
twitter4j能否获得授权应用程序/网站的twitter用户的电子邮件.
Can twitter4j get the email of twitter users authorizing an application/web site.
我能够获得如下屏幕名称:
I was able to get the screen name as below:
User user = twitter.showUser(id);
String screenName = user.getScreenName();
电子邮件怎么样?有可能吗?
How about the email? Is it possible?
谢谢.
推荐答案
You can get the user details using the below API: http://api.twitter.com/1/users/lookup.xml?user_id=YOUR_USER_ID
Twitter表示它不提供任何用于电子邮件检索的API. https://dev.twitter.com/docs/faq#6718
Twitter says it doesn't provide any API for email retrieval. https://dev.twitter.com/docs/faq#6718
这篇关于Twitter4j中Twitter用户的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文