I use following code to describe my links:
<meta property="al:android:url" content="fb://page/$id">
<meta property="al:android:package" content="com.facebook.katana">
<meta property="al:android:app_name" content="Facebook">
<meta property="al:web:url" content="https://www.facebook.com/page/$id" />
<meta property="og:title" content="example page title" />
<meta property="og:type" content="website" />
Then, i use a href like fb://page/$id
, and if app is installed - android default browser opens it like a charm. Otherwise i see "Page not found error" - it tries to open fb
protocol anyway.
For ios i see message "Safari is unable to open this page"
How i can fix it?