Answer the question
In order to leave comments, you need to log in
How to set user status during game?
Hello.
I am developing a simple game for Vkontakte. After launching many games, the user is set to a status with an icon and the name of the application / game.
To work with statuses, I found the following APIs:
- secure.setAppStatus
- status.set
But to be honest, I didn’t understand how they differ, except for the parameters ...
Please tell me how to do this in your game?
Answer the question
In order to leave comments, you need to log in
Everything is very simple. In fact, secure.setAppStatus is a deprecated method. This can be seen by the fact that it is not even in the documentation.
Regarding the status in the game, no methods need to be called. This feature works inside VKontakte and is available only to approved applications with the "Game" type.
The user starts the game (approved). The status is set automatically, unless the user has specifically disabled it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question