I am trying to open a user's profile in the native Facebook app on ios, if installed. The app is built on Cordova/Ionic and I use ngCordova inAppBrowser plugin.
Twitter links, for example, work just fine with a regular web twitter link (https://twitter.com/[username]). Facebook on the other hand, do not. I have tried many different variations:
- https://www.facebook.com/[username/user_id]
- https://facebook.com/[username/user_id]
- fb://profile/[username/user_id]
- fb://profile?id=[user_id]
None worked.
What am I doing wrong? Is it even possible with the current version of the Facebook app?
Thanks