Why it matters
Open Graph tags tell Facebook, iMessage, Slack and everything else which photo, title and description to show. A good food photo in that preview gets tapped; a grey box does not.
How to fix it
- Pick your best horizontal food or dining-room photo, 1200×630 pixels, and upload it to your site.
- Copy the code below and put that photo’s full address where it says REPLACE_ME.
- Paste into the <head> of your homepage, then check it in Facebook’s Sharing Debugger.
The code
This is the fix our audit generated for a sample restaurant. Run the audit on your own site and the fix pack fills in your name, address, phone and hours for you. Anything in CAPITALS is a value we couldn’t find — fill it in, never guess.