This is similar to another issue with the Facebook Like button. But this is for the Twitter Tweet button. On my site, the Facebook Like buttons show the count, but the Twitter Tweet button stays at 0. I've searched for a solution, but there isn't too much written about this. Most people seem to be focused on what kind of browser, but this happens across all browsers for me.

For reference, here's an example of what URL the Tweet widget shows:
https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fwww.mysit...

Is this related to the use of the Shorten module (project/shorten)? Has anyone solved this issue?

Comments

put the address of your website...

Status:Active» Postponed (maintainer needs more info)

Here it is. Thanks.

http://www.musiceum.com

Issue summary:View changes

Minor edit to explain I'm not using a real URL

I am also facing same issue. Any resolution to this?

Issue summary:View changes

Hi you all. I've had this issue with a brand new site that was just moved from development to production. After a few minutes I figured out the problem: the widget uses the shortened URL (I'm using the Bit.ly service) to format the counturl parameter in the link's URL, not the actual node URL (instead the Bit.ly URL I should see the canonical URL so, since I'm using Pathauto, I should see node's clean URL).

Since I was in a hurry and all i needed was a quick and dirty fix, I just added this line to the ws_twitter_widget_data() function, in the line # 95:

<?php
$service
['url'][1]['counturl'] = $subst['encoded-long-url'];
?>

That overrides the shortened URL for the counturl param. I tried doing the same thing changing &counturl=encoded-url to &counturl=encoded-long-url in the $links['twitter_widget'] array from widget_services_service_links(), but for some reason that didn't work, and as I said, didn't have time to go through the code.

I hope the mantainer can gather from this the necessary info to make a proper fix, but in the meantime you can use the little hack above.

Best regards.