GenFirst / react-twitter-auth

A React Twitter Login Component
MIT License
93 stars 52 forks source link

get email_address from twitter #14

Closed bacancykrina closed 6 years ago

bacancykrina commented 6 years ago

Hello, I'm not getting email_address from twitter and those steps in Permission for email access are done. So how can we get using this module?

ivanvs commented 6 years ago

Have you checked checkbox on Permission page?

https://cdn-images-1.medium.com/max/800/1*6aRdd2hUqCzS0z20QQk-kA.png

On this picture it is marked in red rectangle and it should be marked, not empty as it is in picture?

Have you done that?

bacancykrina commented 6 years ago

Yes. From back-end, we also need to call 'https://api.twitter.com/1.1/account/verify_credentials.json?include_email=true' this api and then only can get the email.