CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!

JS

            
              document.addEventListener("intel.xdk.facebook.logout",function(e) { 
   if (e.success == true) 
   { 
     console.log("Logged out of Facebook"); 
   } 
   else 
   { 
     console.log("Unsuccessful Logout"); 
   } 
 }, false); 
intel.xdk.facebook.logout(); 
            
          
!
999px
Loading ..................