I've got the following URL:
http://twitter.com/share?url=http://example.com"
When clicked on iOS and Android, it opens the browser window. What's the best way to open this with the app (if they have it installed)?
EDIT:
I've changed the URL to
https://twitter.com/intent/tweet?text=example
But it still opens in the browser (I have the app installed). Does this require JavaScript or anything else to work?