Answer the question
In order to leave comments, you need to log in
Why can't FAPI detect the platform?
I get the following error on initialization: FAPI was unable to detect launch platform. URL parameters and app_id/app_key not detected.
Here is my code:
InitOK: function(){
var res = FAPI.Util.getRequestParameters();
console.log("apiServer: " + res["api_server"])
console.log("apiConnection: " + res["apiconnection"]);
FAPI.init(res["api_server"], res["apiconnection"],
/*
* Первый параметр:
* функция, которая будет вызвана после успешной инициализации.
*/
function() {
alert("Инициализация прошла успешно");
},
/*
* Второй параметр:
* функция, которая будет вызвана, если инициализация не удалась.
*/
function(error) {
alert("Ошибка инициализации");
console.log(error);
});
}
Answer the question
In order to leave comments, you need to log in
Solution: publish on the application on classmates in closed access
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question