topher-j
topher-j

Reputation: 2281

Difference between Twitter intent & Twitter share URLs

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

Upvotes: 13

Views: 16841

Answers (1)

Chamilyan
Chamilyan

Reputation: 9423

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.

Upvotes: 4

Related Questions