Get auth parameters
Gets the structure of authorization parameters
Function GetAuthParameters(Val GroupID, Val AppID, Val AuthToken) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| GroupID | --group | String, Number | ✔ | Group ID |
| AppID | --app | String, Number | ✔ | App ID |
| AuthToken | --token | String | ✔ | Auth token |
Returns: Structure - Get auth parameters
1C:Enterprise/OneScript code example
GroupID = "218861756";
AppID = "51694790";
Token = "vk1.a.bem0q4ee0ZFzipCOx9iuOETGXuSligRy2xM7y_6QLt_rntCagXXIxt928Thwa9Gt_rhmLw2yUr9sOzW8EoOTg8QyNVvJ0S4gq4y5tBj-...";
Result = OPI_VK.GetAuthParameters(GroupID, AppID, Token);
- Bash
- CMD/Bat
oint vk GetAuthParameters \
--group "218861756" \
--app "51694790" \
--token "***"
oint vk GetAuthParameters ^
--group "218861756" ^
--app "51694790" ^
--token "***"
Result
{
"v": "5.131",
"from_group": "1",
"group_id": "218861756",
"owner_id": "-218861756",
"app_id": "51694790",
"access_token": "***"
}