Retrieve mapping list (queryMapByThirdInfo)
The queryMapByThirdInfo API is used to obtain a self-built account UID based on third-party channel information mappings.
Request parameters
| Parameters | Type | Description | Note |
|---|---|---|---|
| third_type | string | Third-party channel type: discord epic ps5 steam twitch | Required |
| channel_info | object | Channel information of the third-party More information, see Channel Information. | Required |
Request sample
accountApi.queryMapByThirdInfo({
third_type:'facebook',
channel_info:{
access_token: "xxxxxx",
},
}).then(
(res) => {
console.log(res);
}
);
Response parameters
| Parameters | Type | Description |
|---|---|---|
| ret | number | Return code 0: Request successful !=0: Request failed, refer to msg for detailed results |
| msg | string | Result Explanation |
| sacc_uid | string | UID of self-built account |
| need_auth | boolean | Need to log in to self-built account or not |
| seq | string | Data Stream Message Serial Number |
Response sample
{
ret: 0,
msg: "success",
extra_field: "",
need_auth: false,
sacc_uid: "496...191",
seq: "1639127682-0343981578-017518-0001975655",
uid_list: [],
}