vkontakte-api – VK api – How to hide the "online" status of an authorized user?

Question:

There is an Android application for working with `VKontakte. It is used for authorization using the VK SDK. In this case, the status of the authorized user is "online". How can you implement the so-called "invisibility" (user status "offline" when the user is authorized and is in the application)?
The only thing that comes to mind is to write your own stored procedures, which will process requests to the VKontakte API and work with them.
Is this the correct solution or are there other ways?

Answer:

https://vk.com/dev/account.setOffline

Marks the current user as offline (current app only).

Scroll to Top