Application.OpenURL with hashtag cuts the text

Hi All!

I’m using this function to tweet from my game, e.g.

Application.OpenURL("https://twitter.com/intent/tweet?text=" + "bla bla bla #mytag tru tru");

When I do that, I see a new page in my browser, but the text is “bla bla bla”, everything else is cut. If I remove the # symbol, the text is ok - “bla bla bla mytag tru tru”.

What’s the trouble?

Thanks!

Try replacing the hash with %23. Percent-encoding

2 Likes

It works, thanks!