showAppRequestDialog Method

This method displays the Facebook application request dialog



The Request Dialog sends a Request from one user (the sender) to one or more users (the recipients). The Request Dialog can be used to send a Request directly from one user to another or display a Multi Friend Selector Dialog, allowing the sending user to select multiple recipient users.



  • parameters: A JSON object holding the appropriate parameters for the request as specified in Facebook's documentation


  • intel.xdk.facebook.dialog.complete: This event is fired upon completion of the dialog request.
  • This event is fired if Facebook attempted to log the user in during a dialog request, but the login failed.


document.addEventListener("intel.xdk.facebook.dialog.complete",function(e) {
        console.log("Permissions Request Returned");
        if (e.success == true) {
                console.log("News feed updated successfully");
        } else { console.log("permissions request failed"); }
var objParameters = {"to":"USER_ID_HERE","message":"My Awesome Message","title":"A title for this dialog would go here"}
Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.