Scope

Scope

To work with the API, you may need special permissions.

You can specify the required permissions in the Scope property.

CopyC#
OAuthManager.RegisterClient
(
  new FacebookClient
  (
    "1435890426686808",
    "c6057dfae399beee9e8dc46a4182e8fd"
  )
  { 
    Scope = "public_profile,email,user_friends"
  }
);
CopyVB
OAuthManager.RegisterClient _
(
  New FacebookClient _
  (
    "1435890426686808",
    "c6057dfae399beee9e8dc46a4182e8fd"
  ) With _
  { 
    .Scope = "public_profile,email,user_friends"
  }
)

Every provider has individual permissions and rules for their use.

Information about the permissions you can find the documentation on the providers website.

The Scope property value must be set before redirecting user to an authorization page (as shown in the above examples).

NOTE: If you not correctly configure your application in the provider site, the provider can disable some API methods.
Carefully review the documentation and requirements on the provider website.

See Also

Access token
Parameters