Ask Your Question
1

facebook/twitter share fails with unicode url

asked 2012-07-03 21:53:03 -0500

str's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-06 03:23:21 -0500

alexandros.z's avatar

updated 2012-07-06 03:24:43 -0500

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-03 21:53:03 -0500

Seen: 1,219 times

Last updated: Jul 06 '12