Error validating access token: The session is invalid because the user logged out
问题 My code: var fbWebContext = FacebookWebContext.Current; if (fbWebContext.IsAuthorized()) { var fb = new FacebookWebClient(fbWebContext); dynamic result = fb.Get("/me"); name.Text = result.name; } dynamic result = fb.Get("/me"); throws: (OAuthException) Error validating access token: The session is invalid because the user logged out. How should I change my code to prevent this? 回答1: You can ask for the "offline_access" extended permission. This will prevent this message and the user does not