I've been having some character encoding problems with twitter's text query string parameter.
a) http://www.twitter.com/share?url=http://www.example.com&text=touché
b) http://twitter.com/share?url=http://www.example.com&text=touché
a) seems to do extra encoding and the tweet comes out wrong
b) see lack of www works fine.
These both redirect to :
http://twitter.com/intent/tweet?text=touch%C3%A9&url=http%3A%2F%2Fwww.example.com
Is there a point in using http://twitter.com/share rather than simply just: http://twitter.com/intent
A Tweet Web Intent makes it easy for your site visitors to compose and post a Tweet to their audience from a link on your webpage. Sites may configure Tweet text and hashtags, pass a URL, and identify Twitter accounts related to the page.
There is more information about the issue here and here. Use web intents without the www
.
Twitter was double encoding characters in certain situations. Adding a www
to the sharer url was one of those bugs. It was also happening with some of the other features as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With