Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matthewlmcclure/5301000 to your computer and use it in GitHub Desktop.
Save matthewlmcclure/5301000 to your computer and use it in GitHub Desktop.
Alternative to Twitter Cards and Apple Smart App Banners

https://twitter.com/samj/status/319419819910897666 :

...
<link media="native-app-resource"
      type="..."
      rel="alternate"
      href="twitter://status?id=319419819910897666">
<link media="native-app-store"
      type="..."
      rel="alternate"
      href="http://example.com/link/to/app/in/app-store">
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment