S
S
serious9112015-04-06 09:57:44
PHP
serious911, 2015-04-06 09:57:44

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.
E2mfFQg.png?1
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

2 answer(s)
P
Pavel Gromadchuk, 2015-04-06
@Gromadchuk

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.

A
Alexey Lebedev, 2015-04-06
@swanrnd

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 question

Ask a Question

731 491 924 answers to any question