FAPI.Util.getRequestParameters

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

Example

/*
* 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);
          }
);