url - Create iOS link to an App in the app store - best way? -


here requirements:

    1. create links single app in app store
    2. access links either inside app, on device (e.g. mail link) or pc (e.g. via facebook share link)
    3. open links using iphone or ipad running ios 5+

i have done digging around , come following options:

http://phobos.apple.com/webobjects/mzstore.woa/wa/viewsoftware?id=487547243  http://itunes.apple.com/gb/app/anyvalue/id487547243?mt=8  http://itunes.com/apps/seligmanventuresltd/mousetrapfree  http://itunes.com/apps/mousetrapfree  itms://itunes.com/apps/mousetrapfree  itms-apps://itunes.com/apps/mousetrapfree 

just wondering if 1 (or some) of these better other?

thanks.

ok, have done lot of research/testing , here conclusion:

  1. links use in code should not rely on 'current' name of app, since might change on time (e.g. light alarm lite vs light alarm free). therefore following 4 out imho:
    http://itunes.com/apps/seligmanventuresltd/mousetrapfree
    http://itunes.com/apps/mousetrapfree
    itms://itunes.com/apps/mousetrapfree
    itms-apps://itunes.com/apps/mousetrapfree

  2. that leaves itunes , phobos urls. have tested both urls via ios 6 share functionality (so might different on ios 5, given numbers reducing daily dont mind). tested accessing via sms, email, facebook, twitter (on iphone 5 , using mac).

both url types produced near identical results, except following:

phobos: e.g. http://phobos.apple.com/webobjects/mzstore.woa/wa/viewsoftware?id=346542660 + none - sharing link on facebook created facebook link without image... showstopper me mean use itunes urls going forward (see below).

itunes e.g. http://itunes.apple.com/gb/app/appname/id346542660?mt=8 + when opening link on iphone 'mail' app app store opened within 'mail' app , no tabs along bottom appeared, arguably creates increased focus on app - none

in summary, going itunes type urls going forward. eg: e.g. http://itunes.apple.com/gb/app/appname/id346542660?mt=8
(note: don't have stipulate '/appname' in url, keeping '/appname/' works fine, means dont have worry if app name changes on time.

cheers, charlie


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -