Meta Tags for Social Media
The following are the essential meta tags you need that reconciles both Twitter and Facebook's requirements:<!-- Specify which image to use when sharing page. -->
<meta property="og:image" content="https://images.dealercarsearch.com/dealerimages/30/20329/dcs_logo_meta.jpg">
<meta name="twitter:card" content="summary_large_image">
<!-- Add if you want to modify the default title, description or URL for social media sharing. -->
<meta property="og:title" content="OG Meta Title Test">
<meta property="og:description" content="This is a test of meta tags for social media">
<meta property="og:url" content="https://code.dcs-mvc.com/og-test">
Add the above meta tags to the site's home page Meta Tag section or an individual page's Meta Tag section.
For Images: Follow Facebook's recommendation of a minimum dimension of 1200x630 pixels and an aspect ratio of 1.91:1, but adhere to Twitter's file size requirement of less than 1MB.
Validate and Preview:Facebook Sharing Debugger
Twitter Card Validator