Adding The Tweet Button to your Website
The tweet button allows you to quickly share the webpage you’re viewing with all of your followers. Clicking the tweet button provides you with a pre-populated tweet containing a link to that webpage, which you can customize before sending.
Step 1: If you want to embed Twitter button to your website, follow these steps:
1. Go to https://twitter.com/about/resources/buttons
2. Customize the tweet button – choose pre-populated text for the message, and confirm which twitter accounts you'd like to suggest to users. The main account you specify will become an @mention in the tweet. (By default, we'll use the username of whichever account you're currently logged into in the button.)
3. Copy and paste the code into the HTML of your website wherever you would like the button to appear.
4. You're done!
Note: The optional tweet counter for your button captures a sum of all Tweets and retweets of your content, so you can watch the message spread as people share it.