Anyone had success sharing a product page to facebook and have the preview stuff work?
What problem are you seeing? I'm not sure how to help.
Trying to put the product image in the og:image meta tag.
What result are you getting, and what's your code?
$img = perch_shop_product(perch_get('product'), [ 'skip-template' => true, 'raw' => true ])['image'];
and then passing this as a variable.