How can I get email address after login to twitter? Im using fabric sdk Android



Im using fabric sdk. Its give me null variable when I print to log.


Is your app whitelisted for access to the email address? There is a link in the Fabric docs to apply for access. Once granted, users will see an additional screen indicating that your all is requesting email access.

If the value is null, the the chances are that either the account has no associated email address, or that it was never verified.


This is the reply of twitter support.

This is my code to get email address of user using twiiter login:

loginButton = (TwitterLoginButton) findViewById(;
loginButton.setCallback(new Callback() {

        public void success(Result<TwitterSession> result) {
            String Username =;
            Toast.makeText(MainActivity.this, Username, Toast.LENGTH_LONG).show();
            AccountService ac = Twitter.getApiClient(;
            ac.verifyCredentials(true, true, new Callback<User>() {
                public void success(Result<> result) {

                    String imageUrl =;
                    String email =;
                    String Name =;
                    long userid =;
                    String username =;

                    System.out.println("EMAIL:" + email);
                    System.out.println("Name:" + Name);
                    System.out.println("ID:" + userid);
                    System.out.println("Username:" + username);

                public void failure(TwitterException e) {


        public void failure(TwitterException e) {