The hash segment is stripped off from the url after clicking on sharing button

web

#1

Hello.

I implemented twitter sharing button in accordance with the official documentation. This is the rendered element.

<a href="https://twitter.com/intent/tweet?text=Product%20name&amp;url=http://localhost:3000/configurator/model/1/configurator#b:none,1:1,2:1,3:1,4:1,5:14,7:7,15:16,b:fulls&amp;hashtags=shop,product">

After the link click the part with hash character is stripped off and there are no hashtags (because they go after the hash character I assume).

37

Could you please help me with this?


#2

Hi @osenvosem,

Try encoding the # as %23 in the URL. That fixes the issue for me.

More info here.


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.