Hi folks. I have a tweet button on a website that isn't updating its count. Here is my syntax:
Tweet
When this is clicked, I get into the Twitter post page, with the Textarea filled out propertly. The bit.ly URL in the data entered into the textarea resolves properly, so I am not sure why it isn't working. The right information is indeed going through the system, but Twitter isn't registering the url as being posted.
Any idea what I am doing wrong?
Cheers

Replies
Ah dang, that didn't post. Maybe I should check it next time. Stupid me...here's the syntax:
Caching. It can take some time for the real results to show.
OK but some of these are taking weeks, if at all. Is that normal? What should I expect?
Is there anybody home here? Is this an actual ticket, or have I missed something? Where can I file a ticket? This API seems to have dropped the ball somewhere.
When sharing examples like this, it's best to include the actual domain names that you're using so that they can be researched.
Since I'm helping you with a specific scenario ( http://www.huntingcamponline.com/index.lasso?page=picdetail&pid=287 ) let's talk about this specific scenario.
To test I've created a tweet utilizing the tweet button on that page, resulting in this tweet: https://twitter.com/#!/oauth_dancer/status/101041454910148609
After about 15 minutes of caching passed by, in addition to flushing my browser's cache to ensure that my browser was fetching the most current count, the site at http://www.huntingcamponline.com/index.lasso?page=picdetail&pid=287 now indicates a tweet count of 2.
Sometimes when one issues test tweets with URLs with a dedicated test account or an account that hasn't "baked" into Twitter yet, the count will not increment.
Taylor, I've posted this no less than three times and answered that question somewhere else.
So then how did you get that tweet? That isn't anywhere near what is produced by the Tweet button. This is what is generated:
I found this on www.huntingcamponline.com #hunting http://t.co/AK1m9ZS
You can copy urls all you want, but you're going against the very nature of the Twitter API as published.
This isn't about cache. Tweets for this site haven't shown up for over a month. Yes I restart my machine and I often turn off my browser cache as a developer should. The API as given in the Twitter pages doesn't generate what you put.
So go back to that url and show me what comes up when you click on the Tweet button. It should be exactly what's set in the syntax above. How you got what you did is very strange.
I used the tweet button on that same page and changed the content of the tweet while keeping the URL being used intact (like any end-user can): http://www.huntingcamponline.com/index.lasso?page=picdetail&pid=287
The Tweet Button's count function only takes the URL you explicitly specify in "data-url" into account for the count and will count any instance of that URL being tweeted by an account in good standing -- the rest of the content of the tweet is irrelevant as far as counting is concerned.
Do you have some links to other tweets that have this URL that aren't being counted?
Like I said, post what you find and you'll find all the answers in there. Don't change a thing. Walk through it and you'll see that it does nothing.
That is the url that's posted, but it gets shortened and I want to be able to use that URL (the short version), but Twitter's shortening tool kills it. That should also augment the count, but it doesn't. I find it strange I'm the first one bringing this up.
As far as the tweet count service goes, your URL whether wrapped with t.co or not is exactly the same thing. All tweets issued from the Tweet Button that contain URLs will have them wrapped by t.co.
When a user performs a search for the fully qualified URL: http://www.huntingcamponline.com/index.lasso?page=picdetail&pid=287 it will match both t.co-wrapped links as well as naked links.
Are you sure that this specific URL, complete with the pid=287 and page=picdetail parameters has been tweeted by public accounts more than twice?
As for the tweet text being alterable: completely by design. A user should always be able to change the text of a tweet they are going to issue from their own account. Your goal might be to have them tweet the exact phrase you've prepared, but the user is control as to what will actually be tweeted at all times.
Just to be sure, are you wanting to the count to reflect tweets issued about the specific page they are appearing on or count all tweets with URLs pointing at the www.huntingcamponline.com domain?
The t.co wrapping is the only thing that's going wrong. OK, do the following:
Pick any page in that system. Tweet it just as it comes through (it will be shortened). Watch it not get augmented.
This whole system has been up for months with Tweet buttons integrated just the way it is. Nothing is showing up. Only direct posts with the full GET urls (...?page=picdetail&pid=XXX) are counted. That's why this one is showing 2, as I've chosen it to demonstrate the problem.
This is not about a tweet being editable. Even the textarea in the resulting Twitter domain Tweet submission page has the shortened URL. Like I said, not a single person has modified the URLs, as the button completely changes it. That's the very point of the button. Nobody is going to go back and grab the fully qualified URL when the button progress takes it and shortens it.
The button is about the individual posting, not the domain. The top page has the domain tweet button, and that works.
Please, look into this. Shortening the individual post URLs is messing things up. All the syntax and pointers do their job (copy the shortened URL and you'll see it goes right back to the proper huntingcamponline page), but the counters don't augment.
Cheers
hey rich ....Thanx for updating but dis code is also not working.
Can u give another code so that the counter of the can be updated.
Since posted, Twitter has done something. It is now working. They had a related issue that might have been the problem. It seems to be working now.
My twitter button stopped counting tweets about 5 days ago. I have tried all i can, read most of the solutions to this problem, but cant get it ti to count. I use Digg Digg social bookmark plugin. My site runs on WordPress. - http://alltopstartups.com
Ya they're messing with things in the background. They had a related issue with their new t.co recgonizing the underlying proper url. Submit a bug as they seem to pay attention to that.
Hi,
I am using the below code for twitter in my site. Its taking more time to update count
Tweet
Please help me.
I face the same problem does anyone have the solution?
yes i have the same problem wonder why
I'm having this issue too. At first I thought I needed to use a more recently provided tweet button, but still having this issue? Tweets go through, but no counting on the button?
Here's the code:
Tweet
!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");
Is there something I did wrong?
Any help would be appreciated.
It seems three people started having the same problem. Sounds like a Twitter problem. Find their support account on Twitter and let them know directly.
We're tracking a number of Tweet Button counting issues in this super-ticket: Issues with Tweet Button Counting -- I recommend following it for our progress on this.
Hello. Until 3 days ago my blog Tweet button worked fine. Now it registers zero although I can retweet to Twitter. That registers but on refreshing page the number returns to zero. I tried pinging but it said my URL wasn't registered. Checked that to find it is but says there are no tweets.
I know I get several re-tweets from each post as I see them on Twitter.
Haven't installed any new software or anything.
I'd be pleased if you could help. http://subrosa-blonde.blogspot.co.uk/
Is this still an ongoing issue? I'm not seeing any of my tweet button counts updating at all. Something I am missing?
Tweet
I hope this is the right place to provide some feedback for https://dev.twitter.com/issues/48.
I read that yesterday an update was posted saying that the Tweet count infrastructure has been updated to provide a more robust and accurate tweet count.
However, I still have problems with tweet counting on my website.
Consider the following URL:
http://www.utopicmusic.com/permalink/post/165299
If you visit this page, you'll see the Tweet button widget. The button is working fine, since if I click on it I can tweet the URL of the page. However, the tweet count stays to 0. If I click on "0", the tweets that have been made are displayed: there's just one right now, so I would expect to see "1" and not "0"! I tried to wait several days, with different browsers, clearing cache and so on, but nothing helped. I also tried to add the "data-counturl" element to the anchor I'm using to display the tweet widget, although it should be useless since the "data-url" contains exactly the URL I want to share and count, but it didn't help either.
So, any help to determine why the counting is still not working would be appreciated.
Mauro.
I think in your case it has to do with your URLs -- http://www.utopicmusic.com/permalink/post/165299 redirects to http://www.utopicmusic.com/main/Main.html#post/165299 but when our crawler tries to go there it can't recognize the Tweet Button or your content -- because you have a "#" in your URL which web browsers typically only leverage. Our crawler can likely only get to http://www.utopicmusic.com/main/Main.html.
I know. But consider that:
- we are using Google Web Toolkit: the use of "#" in the eventual URL is unavoidable to hook an UI state to a certain resource identifier
- we are even supplying support for "permalinks" that do NOT contain the "#" to try to address this problem
Moreover, given that:
1) we are sharing the http://www.utopicmusic.com/permalink/post/165299 URL (and not the http://www.utopicmusic.com/main/Main.html#post/165299)
2) tweets produced by the Tweet button do contain that URL correctly
3) we are even enforcing that the counter has to count tweets about http://www.utopicmusic.com/permalink/post/165299 by specifying the data-counturl attribute
=> we are expecting the counter to count that URL and not to try to do some (non-)smart resolution of that URL...
Otherwise we are forced to hide the tweet count if there's no way for it to work correctly. We can't certainly change the framework we're using to develop the entire website!!
Thanks for your support.
You may want to hide the tweet count then or offer search engine friendly versions of your post at the permalink page instead of a redirect to content that cannot be consumed by a crawler.
This is all that our crawler can see when we pull that URL:
Since we can't detect a Tweet Button there, we don't spend the resources counting the tweets pointing to it.
Providing a search engine friendly version of the post could be an idea, but if I put it at the URL I want to share, the result is that I'm tweeting a URL to a resource that people shouldn't see, since I want people to see the actual resource (the one using the GWT interface).
May a combination of data-url and data-counturl be of any help here? If I specify the GWT URL as the data-url and a search engine friendly version as the data-counturl, will it work?
Hello! I´ve got the same problem.
I´ve got a lot of diferents (similar) buttons in the same page. With only one script.
The count don´t found, Please Help. :´(
Web: http://formamosprofesionales.com/estudios-posgrado/ciencias-sociales-juridicas.html
Hello!! Is there anybody home here?
new to twitter so I won't be to quick in responding for a bit, thanks for twitting?