Yes. It is possible that you are using the facebook login in the snippet, the only thing you need to do is call OnActivityResult in your host activity as follows:
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Fragment fragment = getFragmentManager().findFragmentById(R.id.your_host_fragment_in_activity); fragment.onActivityResult(requestCode, resultCode, data); }
and then call onActivityResult again in the yout snippet.
source share