POST api/CommonAccount/CommonFbLogin

通用facebook登录接口

Request Information

URI Parameters

None.

Body Parameters

CommonFbLoginReq
NameDescriptionTypeAdditional information
uid

facebook的用户码

string

None.

machineId

机器码

string

None.

nickName

string

None.

pid

integer

None.

version

string

None.

language

zn-ch中文,en英文

string

None.

system

string

None.

token

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "machineId": "sample string 2",
  "nickName": "sample string 3",
  "pid": 4,
  "version": "sample string 5",
  "language": "sample string 6",
  "system": "sample string 7",
  "token": "sample string 8",
  "timeZone": "sample string 9"
}

application/xml, text/xml

Sample:
<CommonFbLoginReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <language>sample string 6</language>
  <pid>4</pid>
  <system>sample string 7</system>
  <timeZone>sample string 9</timeZone>
  <token>sample string 8</token>
  <version>sample string 5</version>
  <machineId>sample string 2</machineId>
  <nickName>sample string 3</nickName>
  <uid>sample string 1</uid>
</CommonFbLoginReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonFbLoginRes
NameDescriptionTypeAdditional information
uid

facebook的用户码

string

None.

nickName

string

None.

usercode

string

None.

isVip

integer

None.

headUrl

string

None.

gender

integer

None.

birthday

string

None.

State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "nickName": "sample string 2",
  "usercode": "sample string 3",
  "isVip": 4,
  "headUrl": "sample string 5",
  "gender": 6,
  "birthday": "sample string 7",
  "State": 8,
  "Message": "sample string 9"
}

application/xml, text/xml

Sample:
<CommonFbLoginRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 9</Message>
  <State>8</State>
  <birthday>sample string 7</birthday>
  <gender>6</gender>
  <headUrl>sample string 5</headUrl>
  <isVip>4</isVip>
  <nickName>sample string 2</nickName>
  <uid>sample string 1</uid>
  <usercode>sample string 3</usercode>
</CommonFbLoginRes>