Twitter share https url showing twice?


#1

Hi when i click the tweet button and share my url shows up twice?
here is an example

Here is the code i am using

<a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php echo $currenturltoshow; ?>" data-via="thatmixtape" data-lang="en" data-count="vertical">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>
                        </div>

can anyone edit the code for me so my url will not show up twice please


#2

I am unable to replicate your issue on your site or through a test Tweet button.
https://thatmixtape.com/tm/F/French-Montana/The-Best-Of-French

Which text appears highlighted in the text area? The passed Tweet text, or the title of the page, should be pre-selected in the Tweet window.


#3