How can I add a link to my own iPhone app from the website IF POSSIBLE
I have a link to a Facebook page from a website. I know I can use the href = "fb: //" URL scheme to open the Facebook app from the iPhone, but if the iPhone user doesn't have their own app installed, an error pop-up appears. I'd rather just post this user to the Facebook site.
There should be a way to do it, but everything I've tried has had some short-lived output:
Unable to make HEAD request to another server
Unable to run try catch javascript function as event leaves client page
Can't seem to access information about custom apps ... or can I? I've read a bit about a cookie called "appInstalled" but can't find any real documentation about it.
Any ideas? Thanks for a ton in advance. Denis
a source to share
Not exactly a technical answer, but you can change the UI to give the user the option. For example, having:
Click here if you have the facebook application installed on your iPhone.
If you do not, click here to go through to the site.
Sorry I can't come up with a "correct" solution, I'm not very familiar with iPhone development.
a source to share