requestWithRestAPI Method

This method makes calls to the older REST Facebook API

intel.xdk.facebook.requestWithRestAPI(command, method, parameters);

Description:

This method is used to make a request using the older Facebook REST API. This API is being deprecated by Facebook, and may not be available in the future. For more information on Facebook’s REST API see the Facebook documentation here.

Platforms:

Parameters:

  • command: The REST API command to have Facebook execute
  • method: The request method to call the Facebook REST API, typically GET or POST
  • parameters: Any parameters required for the request

Events:

  • intel.xdk.facebook.request.response: This event is fired upon completion of a Facebook API request.
Pour de plus amples informations sur les optimisations de compilation, consultez notre Avertissement concernant les optimisations.