How do I launch twitter app from web button?


#1

I have an embedded hashtag button on my website. When I open the site on my iPhone and tap the button, rather than it opening my twitter app, it opens a new tab and asks me to sign into twitter. Is there a way to automatically open the app, or if not installed, then redirect to the webpage?

<a href="https://twitter.com/intent/tweet?button_hashtag=RethinkingRace" class="twitter-hashtag-button" data-size="large" data-related="uakron" data-url="http://uakron.edu/race">Tweet #RethinkingRace</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

#2

Anyone?


#3

Try http://handleopenurl.com/scheme/twitter ?


#4

#5