First time here? Check out the FAQ!
1

facebook/twitter share fails with unicode url

If question/answer title is unicode, which sets the url unicode - then, when I try to share with facebook/twitter it fails.

For example, the api request to twitter changes to, http://twitter.com/share?url=undefined&ref=twitbtn&text=%u0975 ...... and twitter sends 'This webpage is not found'

Is this an issue with askbot?

str's avatar
91
str
asked 2012-07-03 21:53:03 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Hello.

I had a similar problem some time ago. Please have a look here.

Probably, is not the best solution, but worked for me. Have a look on the second part of the answer where I am writing something about escaping characters.

I removed escaping, because when I tried to post greek questions (non latin characters) the url created was not valid (contained a lot of % because of escaping) and twitter sharing didnt work. Now it works.

Hope it helps

alexandros.z's avatar
596
alexandros.z
answered 2012-07-06 03:23:21 -0600, updated 2012-07-06 03:24:43 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments