This repository has been archived by the owner on Jul 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Reference of v4 forward alloc
TheSnowfield edited this page Apr 23, 2021
·
1 revision
arguments | description | optional |
---|---|---|
time | time sec | YES |
clear | pre-clear the friend list when set true |
YES |
Allocate a temporary access token for the persistent queries.
Token will be recycled while the time limit exceeds.
The default time limit is 10 sec.
You could configure it in the BOTARCAPI_FORWARD_TIMESEC_DEFAULT
{
"status": 0,
"content": {
"access_token": "67c1e625a3afde07cc1cbf46e3a63a04",
"valid_time": 10
}
}
status | description |
---|---|
0 | everything is OK |
-1 | invalid time |
-2 | allocate an arc account failed |
-233 | unknown error occurred |