POST Access/TokenByFacebookID
This api for get new token. Please encript your client_secret and password with SHA256 and then encript value with MD5
Request Information
URI Parameters
None.
Body Parameters
MemberFacebookLoginModelName | Description | Type | Additional information |
---|---|---|---|
client_id | string |
Required |
|
client_secret | string |
Required |
|
FacebookID | string |
Required |
|
DeviceID | string |
None. |
|
DeviceType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "client_id": "sample string 1", "client_secret": "sample string 2", "FacebookID": "sample string 3", "DeviceID": "sample string 4", "DeviceType": "sample string 5" }
Response Information
Resource Description
success if value StatusCode = '00'
ResultModelOfAccessTokenModelName | Description | Type | Additional information |
---|---|---|---|
StatusCode | string |
None. |
|
StatusMessage | string |
None. |
|
Value | AccessTokenModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": "sample string 1", "StatusMessage": "sample string 2", "Value": { "PoolName": "sample string 1", "AccessToken": "sample string 2", "ExpiredDate": "sample string 3", "IsActive": true } }