2

Does anyone know if it's possible to launch the iPhone or Android Foursquare app from a mobile web page? Is there a custom URL scheme we can use?

Our client would like to give users the option to use the app if they have it installed instead of the website.

the Tin Man
  • 150,910
  • 39
  • 198
  • 279
Jeff
  • 1,458
  • 2
  • 18
  • 32

2 Answers2

3

The URLs for launching the Foursquare native app can be found here: https://developer.foursquare.com/resources/client.html

As suggested in that site, for Android it will fallback to mobile view if the app is not installed, for iPhone you should follow the UIApplication reference, specifically canOpenUrl: and openUrl:

Jonathan Levison
  • 2,607
  • 1
  • 16
  • 22
0

For the android you might want to look at this page:

Launch custom android application from android browser

For the iphone:

iPhone apps: Can I open an app from a link in a website?

Community
  • 1
  • 1
craniumonempty
  • 3,327
  • 1
  • 18
  • 17