0
Hello! Use this code to open the Facebook application directly on the page on the device.
<a href="#" class="link-fb"
onclick="window.open('fb://page/0000000000000', '_system'); return false;">
</a>
In the Android
works perfectly, opening in the page sent in the parameter. However iOS
it just opens the facebook app on the home page.
Does anyone know what’s going on? Any suggestions? Thank you.
Thanks for answering, I tested this way, but it opens the browser. I would like you to open the Facebook application on the device
– Felipe XST
But then you’d have to use an API for this maybe.
– Mike Otharan
With the code I posted, is working on Android, already on Ios it opens the application but not on the correct page
– Felipe XST
Take a look at the Cordova documentation, this might help you: https://cordova.apache.org/docs/en/2.6.0/cordova/inappbrowser/window.open.html
– Mike Otharan