code: public PendingCall present() {
          logDialogActivity(activity, fragment, getEventName(appCall.getRequestIntent()),
                  AnalyticsEvents.PARAMETER_DIALOG_OUTCOME_VALUE_COMPLETED);
  
          if (onPresentCallback != null) {
              try {
                  onPresentCallback.onPresent(activity);
              } catch (Exception e) {
                  throw new FacebookException(e);
              }
          }
  
          if (fragment != null) {
              fragment.startActivityForResult(appCall.getRequestIntent(), appCall.getRequestCode());
          } else {
              activity.startActivityForResult(appCall.getRequestIntent(), appCall.getRequestCode());
          }
          return appCall;
      }
docs: Launches an activity in the Facebook application to present the desired dialog. This method returns a
  PendingCall that contains a unique ID associated with this call to the Facebook application. In general,
  a calling Activity should use UiLifecycleHelper to handle incoming activity results, in order to ensure
  proper processing of the results from this dialog.
  
  @return a PendingCall containing the unique call ID corresponding to this call to the Facebook application