S
S
Sergey Sokolov2014-10-06 12:10:50
In contact with
Sergey Sokolov, 2014-10-06 12:10:50

VKontakte: how to find out if a user has deleted an iFrame application?

The VKontakte application is a bundle of two: iFrame (interface) and Site (with offline access).
With a Site type application, everything is simpler - there is a user access_token that can be checked with account.getAppPermissions .
How, without having an online user at hand, with fresh tokens from iframe, check that the iframe application is still installed?
Those. given: user_id, app_id, app_secret. I need to know if he still has this application installed? He gave only basic rights - to access his information.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bondeg, 2015-03-19
@bondeg

It is enough to get a token for your user and use it to bypass everyone through users.isAppUser . This is if the application id is the same. Otherwise, you need to connect the iframe application as a website and make a token for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question