public void onActivityResult ( int requestCode , int resultCode , Intent data , FacebookDialog . Callback facebookDialogCallback ) { Session session = Session . getActiveSession ( ) ; if ( session != null ) { session . onActivityResult ( activity , requestCode , resultCode , data ) ; } handleFacebookDialogActivityResult ( requestCode , resultCode , data , facebookDialogCallback ) ; }
To be called from an Activity or Fragment s onActivityResult method when the results of a FacebookDialog call are expected .