I'm interested in the https://vk.com/dev/groups.setCallbackSettings method and https://vk.com/dev/groups.getCallbackSettings, which is for the server_id which should be a positive number, I can name the server as I like. And this is not indicated in the address even.
1 answer
Every time you create a new server in the admin panel of the group, it is assigned a unique number, it coincides with the order of creation (the countdown starts from 1). You can see the identifier in the address bar:
https://vk.com/club1?act=api&server=4 If &server=X not displayed, then the server will probably be accessible by identifier 1 .
This identifier is also returned when creating a new server through the API: groups.addCallbackServer .
At the same time, there can be no more than 10 servers, however server_id can be arbitrarily large if previous servers have been deleted. It reflects only the sequence number in turn.
|
