phptwitterhybridauthhybridauthprovider

How to get the Twitter user's email using Hybridauth?


Can any body help how to get the Twitter email I am using this link in php codeigniter here i am getting my information except email. Then how to fetch the email? is there any scope shall we specified in config file?


Solution

  • You can't.

    Twitter API does not provide access to a user's email address


    Here's a response to this same question from a Twitter employee

    The API won't return an email address to you. If you're interested in a user's email address, you'll have to ask the user for it within your own application as a completely distinct act.