/// <summary>
 /// Generates the authorization URL using the specified state and scope.
 /// </summary>
 /// <param name="state">The state to send to Facebook's OAuth login page.</param>
 /// <param name="scope">The scope of the application.</param>
 /// <see cref="https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/#login" />
 public string GetAuthorizationUrl(string state, FacebookScopeCollection scope) {
     return Client.GetAuthorizationUrl(state, scope.ToString());
 }
示例#2
0
 /// <summary>
 /// Generates the authorization URL using the specified state and scope.
 /// </summary>
 /// <param name="state">The state to send to Facebook's OAuth login page.</param>
 /// <param name="scope">The scope of the application.</param>
 /// <see cref="https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/#login" />
 public string GetAuthorizationUrl(string state, FacebookScopeCollection scope)
 {
     return(Client.GetAuthorizationUrl(state, scope.ToString()));
 }