A
A
Alexander Farber2018-02-03 12:51:23
In contact with
Alexander Farber, 2018-02-03 12:51:23

Is it necessary to check the value of $_GET['is_app_user'] in an iframe application?

Hello, I have developed an HTML5/Websockets game for PC and Android and am currently trying to launch it on various platforms, incl. and on VKontakte.
Unfortunately, while I'm getting a refusal and the support service claims that my game is not visible at all (although I can see it from my wife's account):
5a75846404773222223053.png
In the PHP script of my application it is at the very beginning (I removed this block right now, since I sent the application again For checking):

if ($_GET['is_app_user'] != 1) {
        exit('App is not installed');
}

My question is: is this check needed at all or is it outdated (I adopted it from another, old script) and the application will work anyway?
And is it recommended to mark "Application installation: not required" in the application settings?
5a7585bd31887825603775.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max Payne, 2018-02-03
@YardalGedal

The application will work.
If you need functionality. for the user to install it - make a softer handler, that is, for example, a notification that you need to install the application without cutting off the functionality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question