title: how to get Twitter profile info from FirebaseUI authentication
body: <p>Currently i can get <code>DisplayName</code>, <code>Email</code> and <code>uid</code> etc, how to get handle name ex <code>@myname</code> and others like <code>description</code>.</p>
  
  <p><strong>startActivityForResult:</strong></p>
  
  <pre><code>List&lt;AuthUI.IdpConfig&gt; providers = Arrays.asList(
                      new AuthUI.IdpConfig.TwitterBuilder().build()
  
  
              );
  
              startActivityForResult(
  
                      AuthUI.getInstance()
                              .createSignInIntentBuilder()
                              .setAvailableProviders(providers)
                              .build(),1
              );
  </code></pre>
  
  <p><strong>onActivityResult:</strong></p>
  
  <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
  
          if (requestCode == 1) {
              IdpResponse response = IdpResponse.fromResultIntent(data);
  
              if (resultCode == RESULT_OK) {
  
                  if (response.isNewUser())
                  {
                     String username = FirebaseAuth.getInstance().getCurrentUser().getDisplayName();
                     String email = FirebaseAuth.getInstance().getCurrentUser().getEmail();
                  }
  
                  Intent timelineIntent = new Intent(this, TimelineActivity.class);
  
                  startActivity(timelineIntent);
                  finish();
  
              } else {
  
                  if (response.getError().getErrorCode() == ErrorCodes.PROVIDER_ERROR)
                      finish();
  
                  if (response == null)
                      finish();
              }
          }
      }
  </code></pre>