tags:

views:

59

answers:

2

It looks like there's lots of different sites/methods for doing this,

is there an official twitter share button?

like for facebook there's http://developers.facebook.com/tools.php?connect_wizard&wizard=stream_publish , which looks excellent

+2  A: 

You can just use the button below and use one of many free social networking icons:

<a expr:href='"http://twitter.com/home?status=Reading " + data:post.title + " @YOURTwitterUSERNAME " + data:post.url' title='Tweet this article on Twitter' target='_blank'><img src='yourTwitterButtonURL'/></a>
Kasia Gogolek
thanks kasia,dont suppose you've got any links to any good icons?also is there any way to edit the default text (like my facebook example)
Haroldo
Nice one Kasia!
Dead account
Why do you use `expr:` before `href`? Which server side language is that?
Marcel Korpel
@Haroldo: Google is your friend: http://www.google.com/search?q=free+twitter+icon
Marcel Korpel
yep i did google first but wanted a few opinions as to 'the best' one to go for.i didn't come across john resig's script in google! thanks again Confusion!
Haroldo
@Haroldo: "The best one" (if you mean the best icon) is a matter of taste, of course.
Marcel Korpel
+2  A: 

See the examples here

Confusion
you cannot tweet without JS enbaled in this examples
Natrium
sounds good to me, my site is pure js and i like mr resig!
Haroldo