When trying to share, the url does not pull up, which I pass to the meta tag in the script:

<script> <meta property="og:url" content="' + window.location.href + '"/> </script> 

Thus, the link is formed - https://test.com/products/#14$21!333 But when debugging, I see that Facebook is editing the link to the option: https://test.com/products/

I can not understand the reason. Or is it that I am passing the js-th URL, or an error in the invalidity of the address.

    0