QueryMapByThirdInfo
The queryMapByThirdInfo
API is used to get the custom account UID based on the channel information of mapped third-party channels.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
third_type | string | Third-party channels: discord epic ps5 steam twitch | Required |
channel_info | object | Channel information of the third-party channel For more information, see Channel Information. | Required |
Request Sample
accountApi.queryMapByThirdInfo({
third_type:'facebook',
channel_info:{
access_token: "xxxxxx",
},
}).then(
(res) => {
console.log(res);
}
);
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related returned field information. !=0: Request failure, check msg for the detailed return message. |
msg | string | Return message |
sacc_uid | string | Custom account UID |
need_auth | boolean | Whether to log in to the custom account |
seq | string | Sequence number of the message in the data stream |
Response Sample
{
ret: 0,
msg: "success",
extra_field: "",
need_auth: false,
sacc_uid: "496...191",
seq: "1639127682-0343981578-017518-0001975655",
uid_list: [],
}