Tweet button count does not work when trailing slash in URL?


#1

We have implemented the Tweet button (javascript method) on two kinds of pages. The counter only works on one of the pages and I can not figure out why.

The button is implemented in exactly the same way on both pages. The only difference (besides the content of course) between the pages is the URL format. The URL of the page with the malfunctioning counter has a trailing slash:

Works:

Does not work:

Could the trailing slash be the problem?

Also, when hovering over the tweeted URL over at my Twitter account, Twitter shows the URL of our site´s 404-page in the tooltip. To me that suggests that Twitter has altered the tweeted URL somehow.


#2

The example URLs got lost:

Works:

a href=“http://twitter.com/share” data-url=“http://www.example.com/works” data-counturl=“http://www.example.com/works

Does not work:

a href=“http://twitter.com/share” data-url=“http://www.example.com/does-not-work/” data-counturl=“http://www.example.com/does-not-work/


#3

Can you share more specific URLs as an example?


#4

Thank you for replying! Yes, these are real URLs:

Works:

Tweet

Does not work:

We are loading the Twitter share script asynchronously on both pages.


#5

Does not Work … Please hlep me…

Tweet

#6

Attribut of tag is not working on aspx.page in Asp.net (4.5)
1)Data-counturl
2) Data-url
3) Data-Count
4) Data-Via.
any option these attributes to counts the tweets in my website…


#7

You can’t really create a tweet button for your Twitter profile. Tweet Buttons are meant to go on the domain they’re pointing to.


#8