POST Api/Facebook/AddClientWithFacebookConnect

Request Information

URI Parameters

None.

Body Parameters

facebooklogin
NameDescriptionTypeAdditional information
userID

string

None.

expiresIn

decimal number

None.

reauthorize_required_in

decimal number

None.

signedRequest

string

None.

accessToken

string

None.

first_name

string

None.

last_name

string

None.

email

string

None.

picture

string

None.

name

string

None.

clientid

string

None.

gender

string

None.

type

string

None.

birthday

date

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": "sample string 1",
  "expiresIn": 2.1,
  "reauthorize_required_in": 3.1,
  "signedRequest": "sample string 4",
  "accessToken": "sample string 5",
  "first_name": "sample string 6",
  "last_name": "sample string 7",
  "email": "sample string 8",
  "picture": "sample string 9",
  "name": "sample string 10",
  "clientid": "sample string 11",
  "gender": "sample string 12",
  "type": "sample string 13",
  "birthday": "2024-03-03T15:53:37.6032973+03:00"
}

text/html

Sample:
{"userID":"sample string 1","expiresIn":2.1,"reauthorize_required_in":3.1,"signedRequest":"sample string 4","accessToken":"sample string 5","first_name":"sample string 6","last_name":"sample string 7","email":"sample string 8","picture":"sample string 9","name":"sample string 10","clientid":"sample string 11","gender":"sample string 12","type":"sample string 13","birthday":"2024-03-03T15:53:37.6032973+03:00"}

application/xml, text/xml

Sample:
<facebooklogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto.socialmedia">
  <accessToken>sample string 5</accessToken>
  <birthday>2024-03-03T15:53:37.6032973+03:00</birthday>
  <clientid>sample string 11</clientid>
  <email>sample string 8</email>
  <expiresIn>2.1</expiresIn>
  <first_name>sample string 6</first_name>
  <gender>sample string 12</gender>
  <last_name>sample string 7</last_name>
  <name>sample string 10</name>
  <picture>sample string 9</picture>
  <reauthorize_required_in>3.1</reauthorize_required_in>
  <signedRequest>sample string 4</signedRequest>
  <type>sample string 13</type>
  <userID>sample string 1</userID>
</facebooklogin>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomResponseObjectOfClientObject
NameDescriptionTypeAdditional information
CustomResponseState

boolean

None.

CustomResponseMessage

string

None.

CustomObject

ClientObject

None.

CustomRedirectionUri

string

None.

GlobalRequestToken

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

text/html

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.