问题
I have a website which has links that sends people to the app store and google play to download my app.
But regular links just go to the website. How can I change it so that if people are on mobile devices, the link opens the app store or google play for them?
Thanks, Alex
回答1:
For Android apps, you can just link to the Google play store directly. The Android OS will prompt the user if they want to open the link in their browser or open the link in the Google Play store app as soon as they click on it. Any http://play.google.com?id=* link will prompt the user in this way on an Android device.
If you've got an Android phone, just give it a try with this link to the Facebook app for Android
For iPhone, check out this answer that is very complete for what you want to do.
回答2:
You can use http://toSto.re to redirect people to the right app store or your website depending on the user agent the users have set.
URLs like toSto.re/dawawas can be configured easily there.
回答3:
I used onelink.to and it's working great so far, it generates a QRcode as well.
来源:https://stackoverflow.com/questions/15983886/how-to-make-a-url-to-apple-app-store-or-google-play-to-actually-open-the-app-sto