I know is a well-known topic, but none of the solutions worked for me. I'm using this code to launch facebook app at a specific profile page from my app:
try {
Intent fb_intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fb://page/" + id_facebook));
fb_intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
startActivity(fb_intent);
} catch (Exception e) {
Intent fb_intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.facebook.com/" + id_facebook));
fb_intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
startActivity(fb_intent);
}
Facebook App opens correctly but shows an infinite loop with no data at all on the requested profile page.
Any idea why? Thank a lot in advance