title: Check facebook application installed or not in "SocialSharing" plugin for phonegap
body: <p>I have used "SocialSharing" plugin in my phonegap application to share on facebook. It is working fine if facebook application is installed on android device. But if application is not installed it gives me error like "Share via Twiiter error: com.android.bluetooth,com.android.mms".</p>
  
  <p>How to check is there facebook application installed or not on android device?</p>
  
  <p>I have used below code to share on facebook  via "SocialSharing" plugin:</p>
  
  <p>window.plugins.socialsharing.shareViaFacebook("Sample text", null, null, function() {console.log('Share via Facebook success')}, function(errormsg){console.log('Share via Facebook error: '+errormsg)});</p>
  
  <p>Thanks in advance</p>