开发者

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.exampl开发者_如何学JAVAe.com

Is there a point in using http://twitter.com/share rather than simply just: http://twitter.com/intent


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜