Social Sharing for dynamic pages

I am building a pet adoption web site.

Selection page: lists the pets to be adopted, visitor clicks one of them, I get the ’ id ’ of the selected pet and open Item Page

Item page: I have a dataset connected to pets data collecion, I filter the dataset with the id I captured in the selection page then I show all information regarding the selected pet e.g. pet name, age, gender, image etc. There is a dummy image in this screen it is connected to pic stored in the data collection. This means all information including the image dynamically populated from database.

When my visitors want to share this page (for example on Facebook) I want Facebook to take the image and pet name which is brought from the database. However it always shows the the static dummy image. I know, ‘og’ meta tag can’t be changed but I have to find a way to do what I want.

I will fully appreciate if somebody can help me on this.

Thanks.

info in the link below, WIX wont allow you to code this directly into the page code but you might have some success coding into a html iFrame. Try passing the dynamic image URL and title/description from your page code to the html iFrame, then run the facebook share code from there.

https://help.pagewiz.com/hc/en-us/articles/115005419269-How-to-change-your-Facebook-Shared-Image

I have a Facebook Icon on my Dynamic Page which acts like the button

After setting the SEO Title, Description and Image For the Dynamic Page like below

I’m using this under my Facebook Icon’s onClick function

export function shareFB_click(event) {
    let url = wixLocation.url; //get the current page's url
    wixLocation.to(`https://www.facebook.com/sharer/sharer.php?kid_directed_site=0&u=${url});
}

Just one thing, I’ve noticed that when my internet connection is bad then the image and description won’t show up instantly unless I refresh the Facebook Post Page Silver Oak Bonuses in the USA ― Welcome and No Deposit Offers

Is there any way to embed some dynamic content like a picture, video, and text into another website with this feature, I’m currently trying to get it to where you can embed stuff as well.