CodePen

HTML

            
              
            
          
!

↑ Insert the most common viewport meta tag

CSS

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

JS

            
              var facebookUserID = "me"; //me = the user currently logged into Facebook 
document.addEventListener("intel.xdk.facebook.request.response",function(e) { 
  console.log("Facebook User Friends Data Returned"); 
  if (e.success == true) { 
    var data = e.data.data; 
    var outHTML = ""; 
    for (var r=0; r< data.length; r++) { outHTML += ""; } 
    document.getElementsByTagName("body")[0].innerHTML = outHTML; 
    document.removeEventListener("intel.xdk.facebook.request.response"); 
  } 
},false); 
intel.xdk.facebook.requestWithGraphAPI(facebookUserID + "/friends","GET",""); 
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................