Does anyone know how to display link previews on facebook with image and description? I have followed this guide to have dynamic meta tags depending on the URL (https://www.tektutorialshub.com/.../dynamic-meta-tags-in.../). I checked the browser console and indeed, the meta tags change depending on the URL, but when I share a link on facebook (a URL other than the landing page), it only shows (in the link preview) the info of the tags that I have set by default on index.html as if I had shared the landing page rather another URL (when it should show me the corresponding URL information). My code is pretty much exactly like the one in the link and here are some pictures to illustrate this:
This is the landing page. Notice the meta tags.
Now, this is another URL, /first, notice how the meta tags have changed because it's another URL.
But when I share the "/first" URL on facebook, using the facebook sharing debugger, I get a link preview that shows the data from the default meta tags (title, image, description) that I have on index.html (the root URL) rather than showing what's on /first.
Any idea what could be the issue or do you have an alternative workaround?