I am trying to get person's user name with facebook graph user object. It gives firstname, lastname and other details correctly but gives null when I call getUserName().
public void onCompleted(GraphUser user, Response response) {
              if (user != null) {
                //facebook authentication done.
                //Disable login button
                Log.d("From FB", user.getFirstName());
                Log.d("From FB", user.getLastName());
                Log.d("From FB", user.getId());
                Log.d("From FB", user.getProperty("email").toString());
                Log.d("From FB", user.getUsername());//gives null
Is there any other way to get the person's userName? Please let me know how to get person's user name.
thanks
 
    