Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get user email address from twitter, using oAuth? [duplicate]

Tags:

oauth

twitter

Possible Duplicate:
Is there a way to get an user's email ID after verifying her Twitter identity using OAuth?

Using oAuth I'm able to sucessfully login and forward it back to my PHP application.

How can I get the email address of the authenticated person? At this point I just have an authenticated oAuth.

Can you direct me to a tutorial?

like image 357
Giffary Avatar asked Nov 07 '10 19:11

Giffary


1 Answers

Not doable.

Is there a way to get an user's email ID after verifying his/her Twitter identity using OAuth?

The user's email address can not be retrieved via the API. This is a deliberate design decision by the API team.

UPDATE 2015.08.18:

It is possible to request an email address from users, but it requires your app to be whitelisted...

like image 131
cherouvim Avatar answered Sep 28 '22 00:09

cherouvim