Facebook Methods description: users.getLoggedInUser

Gets the user id (uid) associated with the current sesssion. This value should be stored for the duration of the session, to avoid unnecessary subsequent calls to this method. The same value is also returned by facebook.auth.getSession.