private void GenerateAccessToken() { var command = new GetAccessTokenCommand { AppId = this.AppId, AppSecret = this.AppSecret, }; var result = this.commandExecuter.Execute(new FacebookEmptyCredentials(), command); this.accessToken = result.Typed.Substring(13, result.Typed.Length - 13); }