GET api/account/externallogins?returnUrl={returnUrl}&generateState={generateState}

Method to get facebook access token. Obsolete since registration and login with facebook are deprecated.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
returnUrl

%2F

string

Required

generateState

true

boolean

Default value is False

Body Parameters

None.

Response Information

Data required for external authentication

NameDescriptionTypeAdditional information
Name

Name of external provider

string

Facebook

Url

Url to get Facebook accesstoken

string

Redirect to this url and get token from redirected url

State

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "url": "sample string 2",
    "state": "sample string 3"
  },
  {
    "name": "sample string 1",
    "url": "sample string 2",
    "state": "sample string 3"
  }
]