CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              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"); 
  } 
},false); 
var objParameters = {"to":"USER_ID_HERE","message":"My Awesome Message","title":"A title for this dialog would go here"} 
intel.xdk.facebook.showAppRequestDialog(objParameters); 
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................