estoy tratando de abrir con un botón un perfil de facebook, pero he probado y siempre abre con el navegador y no con la app de facebook, alguien me puede ayudar por favor, así lo llevo en este momento.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.facebook);
//FACEBOOK
Uri uri = Uri.parse("https://www.facebook.com/uniagustiniana?ref=hl/");
Intent intent = new Intent(Intent.ACTION_VIEW,uri);
try{
startActivity(intent);
}catch(Exception e){
e.printStackTrace();
}finally {
finish();
}
}