Tweet share button counter not working


#1

we’ve implemented a Twitter Share button, but the count always shows 0. I’ve checked the HTTP Head, it seems to be OK:

curl -I "https://www.greenpeace.org.au/action/?cid=47"
HTTP/1.1 200 OK
Server: nginx/1.4.1
Date: Sun, 22 Sep 2013 02:53:21 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.4.4-14+deb7u4
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
Set-Cookie: PHPSESSID=l1tn3m5ecmlt953h6obsl4ibo1; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

are we missing anything or done differently?

Cheers,
Manny Perez


#2

In your code data-url=“http://bit.ly/freeealex-twt but data-counturl=“https://www.greenpeace.org.au/action/?cid=47&src=TW1. The problem is that your bit.ly URL redirects to a slightly different address (no www and not https: http://greenpeace.org.au/action/?cid=47&src=TWT). Try setting data-counturl to the URL your bit.ly URL redirects to.


#3