Open Facebook app instead of browser

I have a button on my app that right now opens a Facebook page but on the web browser.

What I'd really like for it to do is to open the Facebook app if it is installed.

How would I go about doing that?

This is what I have for the browser

Button FaceBookButton = FindViewById<Button>(Resource.Id.BTN_FB);
        FaceBookButton.Click += delegate
        {
            var uri = Android.Net.Uri.Parse("linktofpageblahblah");

            var intent = new Intent(Intent.ActionView, uri);
            StartActivity(intent);

        };

Best Answer

Answers

Sign In or Register to comment.