Facebook link on mobile should open the facebook app and not the browser
<p>On the mobile version of the website I created</p>

<p>I tried to link to the Facebook app with the following code
<code>fb://page/[pageID]</code></p>

<p>It works perfectly on iOS, but on Android it will work with the following code
<code>fb://profile/[pageID]</code></p>

<p>Does anyone know a solution? Maybe some JavaScript to detect the device and then change the URL for that device.</p>