Last active
December 19, 2015 20:49
-
-
Save tylerpearson/6016129 to your computer and use it in GitHub Desktop.
Create custom "Share on Twitter" and "Share on Facebook" buttons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="js-share-button" target="_blank" data-button-name="Twitter" href="http://twitter.com/home?status=I%27m%20tweet%20content%20that%20ideally%20should%20be%20encoded">Share on Twitter</a> | |
<a class="js-share-button" target="_blank" data-button-name="Facebook" href="http://facebook.com/sharer.php?u=http%3A%2F%2Fwww.example.com">Share on Facebook</a> | |
<!-- set more Facebook info in the OG tags --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment