metadata for facebook share link code example
Example 1: meta og:image
<meta property="og:image" content="https://example.com/ogp.jpg" />
<meta property="og:image:secure_url" content="https://secure.example.com/ogp.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="A shiny red apple with a bite taken out" />
Example 2: html share link with image
<title>your keyword rich title of the website and/or webpage</title>
<meta name="description" content="description of your website/webpage, make sure you use keywords!">
<meta property="og:title" content="short title of your website/webpage" />
<meta property="og:url" content="https://www.example.com/webpage/" />
<meta property="og:description" content="description of your website/webpage">
<meta property="og:image" content="//cdn.example.com/uploads/images/webpage_300x200.png">
<meta property="og:type" content="article" />
<meta property="og:locale" content="en_GB" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="og:locale:alternate" content="es_ES" />