I am dynamically creating new url’s that people can share on Facebook that are created based on the products they have in a shopping cart e.g. www.mysite.com/cart/products/x-x-x-x-x-x.
The problem is that this new url that is generated will not have been cached by Facebook when it is being shared so the OG data will not be available. Is their an way through the API maybe to request that Facebook cache a new url before the share popup is shown to the user on my site?
Use the Facebook Debugger. (You’ll need a Facebook account.) LINK
Add the story headline and hit ‘debug’.
Hit ‘fetch a new scrape’
You may have to hit the ‘fetch new scrape’ button a couple of times. Check the correct image / headline shows in the bottom section. You have now cleared the cache.