Is there a way to setup a link on a webpage, so that it tries to open the instagram app. (if it's installed)?
I'm trying to do this for a responsive website so I'm not in another "app".
This does not work:
<div>
<a href="instagram//:media?id=434784289393782000_15903882">instagram://media?id=434784289393782000_15903882</a>
</div>
EDIT: I've corrected the typo as suggested in the answers and tested on iPhone. Work fine! Thanks @Krisrak! But I'm testing on Android Galaxy Nexus and it does not work. I see 2 messages, first "You must log out in order to reset your password." then it fades out and I see another saying "Sorry, we weren't able to load that link.".
Thanks!
Every android app will have list of urls that it can open. So you have to go to that app settings and tell that it should open in browser for the urls and not in the app. To do that go to Settings -> Apps -> scroll down to the app that you don't want URLs to open in -> Tap on 'Open by Default' and select always Ask.
1st Method
<a href="http://instagram.com/_u/{USERNAME}/">Link to Instagram Page</a>
2nd Method
<a href="instagram://user?username={USERNAME}">Link to Instagram Profile</a>
Tested on Android 4.4 Chrome
For browsers in android, if you want to link to a specific instagram page, try this:
<a href="http://instagram.com/_u/USERNAME/">visit our instagram page</a>
You have a typo the href should be ://
not //:
<div>
<a href="instagram://media?id=434784289393782000_15903882">instagram://media?id=434784289393782000_15903882</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With