Tweet share not shortening URL! HELP


Hi, I’m very noob at this and I cannot make my website become shorten when tweet. I tried to authorize bitly but that doesn’t work either. On the tweet box I didn’t see any message stating that they website will be shortened. Here is my code:

 <a href="" class="twitter-share-button" data-text="Fun games here" data-via="BubbleShooter2" data-size="large" data-hashtags="games">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>