public static AccessToken createFromNativeLinkingIntent(Intent intent) {
        Validate.notNull(intent, "intent");

        if (intent.getExtras() == null) {
            return null;
        }

        return createFromBundle(null, intent.getExtras(), AccessTokenSource.FACEBOOK_APPLICATION_WEB, new Date());
    }
public static AccessToken createFromNativeLinkingIntent ( Intent intent ) { Validate . notNull ( intent , "intent" ) ; if ( intent . getExtras ( ) == null ) { return null ; } return createFromBundle ( null , intent . getExtras ( ) , AccessTokenSource . FACEBOOK_APPLICATION_WEB , new Date ( ) ) ; }
Creates a new AccessToken using the information contained in an Intent populated by the Facebook
application in order to launch a native link. For more information on native linking, please see
https://developers.facebook.com/docs/mobile/android/deep_linking/.

@param intent the Intent that was used to start an Activity; must not be null
@return a new AccessToken, or null if the Intent did not contain enough data to create one