[Resolved] Link to an app in the App Store

Hello Everyone! How do I get a link/url for an app in the iOS App Store? I would like a button do direct the user to the store… I don’t need help with the button. :slight_smile:
Thanks!

Nathan [import]uid: 39302 topic_id: 25370 reply_id: 325370[/import]

[lua]local function openIt()
system.openURL(“http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=479147093&mt=8”)
end[/lua]

Just change the id=479147093 to your own app ID and it will open.

Peach :slight_smile: [import]uid: 52491 topic_id: 25370 reply_id: 102488[/import]

If I’m using the corona simulator to test this with an app that’s not on the app store, should it open a screen in my web browser that says, “Your request produced an error. [newNullResponse]”? [import]uid: 39302 topic_id: 25370 reply_id: 102581[/import]

Yes, it’s opening the browser because you told it to.

It’s not getting a response because you don’t have an app in the store so the page doesn’t exist yet, it will when the app is approved.

Peach :slight_smile: [import]uid: 52491 topic_id: 25370 reply_id: 102657[/import]

Okay. Thanks for your help! [import]uid: 39302 topic_id: 25370 reply_id: 102707[/import]

What do I do if I want both apps to launch at the same time? [import]uid: 39302 topic_id: 25370 reply_id: 103207[/import]

I’m not entirely sure what you are asking, can you elaborate please? [import]uid: 52491 topic_id: 25370 reply_id: 103248[/import]

Sure. Sorry. I’m working on two apps right now(app 1 and app 2). I want to put a link in app 1 that will take the user to app 2 in the app store. I plan on submitting both apps to Apple at the same time. So, how do I get the app ID for app 2 and put it in the link inside app 1?
Did that clarify? [import]uid: 39302 topic_id: 25370 reply_id: 103305[/import]

Yes, that’s much clearer - you want a lite version to link to a paid version in the store or the like, I gather?

Anyway - once you make the app page in iTunes Connect you will see the App ID - so just grab the paid app’s ID and use the code above with that ID and it will open it.

Make sense? :slight_smile: [import]uid: 52491 topic_id: 25370 reply_id: 103470[/import]

Yeah, that’s pretty much the idea.

Yup. That’s makes sense.

This is a little off subject, but, concerning iTunes Connect, do I need a test user to test my IAPs? [import]uid: 39302 topic_id: 25370 reply_id: 103564[/import]

There’s discussion on IAP process in IAP sub forum but yes, you should use a test user IIRC. (I haven’t played with IAP in awhile.) [import]uid: 52491 topic_id: 25370 reply_id: 103675[/import]