Can we get email ID from Twitter oauth API?

后端 未结 6 1451
北海茫月
北海茫月 2020-12-07 16:02

How to get email id of the user who accepted my Twitter application?

I have gone through lot of forums. But they have mentioned, it is not possible. Also those posts

6条回答
  •  爱一瞬间的悲伤
    2020-12-07 16:16

    This is now possible by filling out a form to request elevated permissions:

    1. Go to https://support.twitter.com/forms/platform
    2. Select "I need access to special permissions"
    3. Enter Application Name and ID. These can be obtained via https://apps.twitter.com/ -- the application ID is the numeric part in the browser's address bar after you click your app.
    4. Permissions Request: "Email address"
    5. Submit & wait for response
    6. After your request is granted, an addition permission setting is added in your twitter app's "Permission" section. Go to "Additional Permissions" and just tick the checkbox for "Request email addresses from users".

    Note that user e-mail address has to be verified, otherwise Twitter refuses to provide it. (See include_email parameter description in elevated permissions doc page.)

提交回复
热议问题