def get(self): fb.get_user(self.current_user.fbid, self.current_user, self.async_callback(self._on_get_user))
def _get_user(self, fbid): self.user = ec.users.get_user_by_fbid(fbid) fb.get_user(fbid, self.current_user, self.async_callback(self._on_get_user))