requestWithRestAPI Method

This method makes calls to the older REST Facebook API

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


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.



  • 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


  • intel.xdk.facebook.request.response: This event is fired upon completion of a Facebook API request.
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.