@Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (requestCode == RQS_RECORDING) {
     // savedUri = data.getData();
     // Toast.makeText(AndroidIntentAudioRecording.this, "Saved: " +
     // savedUri.getPath(),
     // Toast.LENGTH_LONG).show();
   } else {
     facebook.authorizeCallback(requestCode, resultCode, data);
   }
 }
 // required according facebook android sdk documentation
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   facebook.authorizeCallback(requestCode, resultCode, data);
 }