Q: how to pass the url like this to facebook.
https://www.facebook.com/sharer.php?t=XBOX&u=http://aaa.com/#/project/xbox-branding
when I passed this url to facebook, facebook modify the url to
http://aaa.com/project/xbox-branding
in the facebook’s post my shared url can’t link to correct url.
encode
#to%23, you can do this with urlencode()but you should encode the full redirect URL like this: