I integrate Facebook LikeView into a fragment of the Android application as defined in the official fb docs .
LikeView like_button = (LikeView) findViewById(R.id.like_view);
like_button.setObjectId(...);
I also processed onActivityResult as follows:
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
uiHelper.onActivityResult(requestCode, resultCode, data, null);
.....
}
I cannot programmatically find if the user liked the page or canceled it from LikeView. onActivityResults fires every time a pop-up reminder returns, but without information about the result.
Please help me determine what I am missing. Any help would be greatly appreciated.
source
share