public int auth_getUserId ( String authToken ) throws FacebookException , IOException { /* * Get the session information if we don't have it; this will populate * the user ID as well. */ if ( null == this . _sessionKey ) auth_getSession ( authToken ) ; return this . _userId ; }
Call this function to get the user ID .