Actually Twitter.com come with the follow button creation as you may refer to the URL as below to get the button created.
To get this done, you may follow the step as below.
1. Access to the URL as below,
2. Enter your username.
3. Choose the Option that you needed and you would get the code as the said result.