Auth0 Home Blog Docs

Accept Twitter's email param

social-connections
email
provider
twitter

#1

Auth0 incorrectly states that Twitter doesn’t provide an email parameter. Would love to see support for this added.

![alt text][1]
![alt text][2]
![alt text][3]


Get email from Twitter
#2

so what was the API call that you passed params to to get those properties?


#3

To get the email from Twitter you can try using the [rule] (https://manage.auth0.com/#/rules/create) titled Get email address from Twitter. You’ll also need to fill in your twitter consumer and secret keys within the rule:

 var consumerKey = 'UPDATE-WITH-YOUR-CONSUMER-KEY';
 var consumerSecretKey = 'UPDATE-WITH-YOUR-CONSUMER-SECRET-KEY';

As your image shows, on your twitter app permissions, under Additional Permissions, the Request email addresses from users checkbox also needs to be enabled.

You can also find more information on this stackoverflow post:
https://stackoverflow.com/questions/37999972/twitter-whitelisted-my-application-so-i-can-retrieve-user-email-but-still-not-g


#4