Method signature

Getting parameters when opening the application, function returns an object that consists of key-value pairs of request GET-parameters.

FAPI.Util.getRequestParameters()

Example usage

/*
* API initialization.
*/
var currentUserId;
var rParams = FAPI.Util.getRequestParameters();
FAPI.init(rParams["api_server"], rParams["apiconnection"],
          function() {
              init();
              currentUserId = FAPI.Util.getRequestParameters()["logged_user_id"];
          },
          function(error) {
              processError(error);
          }
);