Skip to content

Instantly share code, notes, and snippets.

@Usse
Last active January 3, 2016 10:48
Show Gist options
  • Save Usse/8451542 to your computer and use it in GitHub Desktop.
Save Usse/8451542 to your computer and use it in GitHub Desktop.
Twitter Intents
<!--
https://dev.twitter.com/docs/intents
[ref] : twitter post ref number
-->
<!-- Include script -->
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<!-- HTML markup -->
<p><a href="https://twitter.com/intent/tweet?in_reply_to=[ref]">Reply</a></p>
<p><a href="https://twitter.com/intent/retweet?tweet_id=[ref]">Retweet</a></p>
<p><a href="https://twitter.com/intent/favorite?tweet_id=[ref]">Favorite</a></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment