Tweet share not shortening URL! HELP


#1

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="https://twitter.com/share" 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.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


#2