Skip to main content

QueryMapByThirdInfo

The queryMapByThirdInfo API is used to get the custom account UID based on the channel information of mapped third-party channels.

Request Parameter

ParameterTypeDescriptionRemark
third_typestringThird-party channels:
discord
epic
facebook
google
ps5
steam
twitch
Required
channel_infoobjectChannel 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

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message
sacc_uidstringCustom account UID
need_authbooleanWhether to log in to the custom account
seqstringSequence 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: [],
}