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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
str's avatar
91
str
asked 12 years ago

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
alexandros.z's avatar
596
alexandros.z
answered 12 years ago, updated 12 years ago
link

Comments

see more comments