twitter api get user email

前端 未结 4 1447
抹茶落季
抹茶落季 2021-01-11 12:31

I am curious to know how to authenticate the user with twitter and after successful login, i need the email of the user... how can it be done?

Heard that twitter doe

4条回答
  •  走了就别回头了
    2021-01-11 13:26

    Just to update this issue, it is now possible (from April 2015).

    You can send a support ticket to Twitter to whitelist your app to make it possible to ask for an email. Then, after an user connects their account, you need to make a GET request to verify credentials with the "include_email" option set to true.

    It is explained in more detail in the second link.

提交回复
热议问题