Data-count="none" does not work!


data-count=“none” does not work on my site, nor the direct url given in my IFRAME-code:

Any ideas why?

I don’t want to see the count…


data-* parameters are not supported as attributes of the iframe button (the iframed content can’t see the DOM of the parent page). You’ll need to pass your parameters via the IFRAME URL, so use src=“” as the src property.


great! That works, thank you!

Unfortunately, I have another problem;

I am writing this:

When clicking on the tweet button, I then of course want to appear.

But, instead the twitter window writes my root URL:

Is that because of my homepage script or can I somehow solve it in another way?

Another question I have is if there is a way to automatically transform long URLs into or ?
I mean, the URLs above is too long for tweet I think.

Best regards,


This is the same issue. Data-* parameters will not work on the iframe, so use as the iframe src.

Any URL you Tweet will automatically be wrapped by, so don’t worry about shortening it beforehand.


awesome! It works perfectly!


Hi there,

I am trying to display the follow us and display number of followers… I am not too sure how to do this. This is what I have thus far:

Not sure how to do this…


We tried to implement but we cannot list the # of followers…

<iframe allowtransparency="true" frameborder="0" scrolling="no" src=" data-show-count="true" data-preview="true" data-lang="en"data-via"shawndkennedy" data-count="vertical"
    style="width:130px; height:20px;"> </iframe>


I figured it out. I added https: to //

Follow @shawndkennedy


Is there anything special about the environment you’re working on – like does it try to rewrite any of the code you copy and paste in on render? Were you using the same browser throughout, and if so, which browser?

closed #10

closed #11