-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grab user's Email during authentication with Twitter #825
Comments
I submitted a request to Twitter asking for more user details (including e-mail) for my app. They approved, I changed social-auth's parameters and I am still unable to get the e-mail in the request. |
I managed to get it right and actually receive user email! For this several steps need to be done (see this post) Make sure Twitter respond to you via email and approved that your app actually get white-listed. Than this changes need to be done in python-social-auth app in In other words, I'll try to create a pull request for this as soon as I understand how this app works on examples with Facebook and similar. |
It worked, @halfstrik. It should be fixed in the app and updated in the documentation. |
@hellvix, great to hear it! I updated appropriate docs/ files in this PR as well. The things I'm unsure are the name of the variable in settings and a quality of my test. |
Fix already merged, thanks! |
Greetings!
I perform a little googling and find out that Twitter recently adds optional returning of users Email address.
Look at the end of this long thread and Twitter docs.
In short, if your app is approved by Twitter and you provide links to ToS and Privacy Policy for your site, you can (as they claim) get a user email address by providing
include_email
in request to endpointhttps://api.twitter.com/1.1/account/verify_credentials.json
.Does any one succeed at this? Any thoughts?
The text was updated successfully, but these errors were encountered: