Reputation: 1420
Is there any way of getting own iTunes app link programmatically from application itself. I am aware of getting app identifier, but unsure of app link. If yes then how can I ?
Upvotes: 2
Views: 623
Reputation: 36447
Use this :
https://itunes.apple.com/lookup?id=<appid>
This will return JSON response containing app details such as supported device, app description, user rating etc.
Filter JSON and fetch trackViewUrl key in results JSON
Upvotes: 1
Reputation: 2712
You may use this:
https://itunes.apple.com/lookup?id=<appid>
<appid> is id of app. Result of this is JSON with info about the app.
Upvotes: 4