Sharing to Facebook with a url param
I am trying to share a url from my page which pulls the username and adds it to the url.
When i'm sharing with the Facebook Icon or Messenger I get an error on the share box

My code is :
const shareUrl = 'https://live.mixshare.co.uk/stream/' + this.props.match.params.username + '/';
This shareUrl works ok with other icons.
Anyone know how to fix please ?
try console.log that
wt... @llamerr solution can't preview the image when I try to share with facebook?
@dimer191996 I'm not sure what your problem exactly, but you can try either log what you sharing as I said before, or use fb share debugger tool which may show some additional info like missing og tags or something https://developers.facebook.com/tools/debug/
@dimer191996 Have you fixed that issue of image not previewing. If yes,please help me I have the same issue.