How to add twitter share button in our website?
Simple copy and paste this code to add a twitter link in your website
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<a href="https://twitter.com/share" class="twitter-share-button"
data-url="Your website URL"
data-via="website"
data-text="content you want to share"
data-related="name"
data-count="none">
tweet
</a>
Now you can share your your content on twitter.
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<a href="https://twitter.com/share" class="twitter-share-button"
data-url="Your website URL"
data-via="website"
data-text="content you want to share"
data-related="name"
data-count="none">
tweet
</a>
Now you can share your your content on twitter.
Comments
Post a Comment