Skip to main content

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

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

ParametersTypeDescription
retnumberReturn code
0: Request successful
!=0: Request failed, refer to msg for detailed results
msgstringResult Explanation
sacc_uidstringUID of self-built account
need_authbooleanNeed to log in to self-built account or not
seqstringData 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: [],
}