Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the email address of twitter user with twitter api

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!

like image 654
Harshit Tailor Avatar asked May 01 '12 06:05

Harshit Tailor


2 Answers

If twitter doesn't provide any API, then how does foursquare retrieve them?

  • Foursquare has provision to list out the user's foursquare-friends who have registered with twitter.
  • It also provides API which shows friends of users who commonly appear in 'foursquare friend's list' as well as 'twitter followers list' of the user.

In both the above cases comparison can be made only through email.

like image 157
Ambili Menon Avatar answered Oct 21 '22 11:10

Ambili Menon


There is NO way you can get email address of a twitter user. Twitter doesn't provide it : https://dev.twitter.com/docs/faq#6718

like image 35
Ambili B Menon Avatar answered Oct 21 '22 10:10

Ambili B Menon