Unable to access the user's twitter email address using the twitter fabric



I am getting the following error even after the user allows email access
"Your application may not have access to email addresses or the user may not have an email address"

Although twitter support is saying that
"Your app has all necessary permissions to request user emails. "

my code is

TwitterAuthClient authClient = new TwitterAuthClient();
        authClient.requestEmail(session, new Callback<String>() {
            public void success(Result<String> result) {
                // Do something with the result, which provides the email address

                Log.i("email","Access granted");
                Toast.makeText(LinkedInActivity.this,"Access granted",Toast.LENGTH_SHORT).show();


            public void failure(TwitterException exception) {
                // Do something on failure

                Log.i("email","Access denied"+exception.getMessage());
                Toast.makeText(LinkedInActivity.this,"Access denied"+exception.getMessage(),Toast.LENGTH_SHORT).show();



Hi @bonnell,

I have able to get user’s email address for some account only in android. For other accounts getting exception like @momina_zepto. Help me out, Thanks.


Thanks @InfognanaDevelopers, not all users will choose to share their email address or the account may have already given you access to their account prior to your app having permissions to request an email address. If you think neither of the two applies, then I’d recommend testing by revoking access to your app via Twitter -> Settings -> Apps, then log back into your app and re-authenticate your app.