Filina Consulting, Inc

Better Link Previews on Social Media

December 3rd, 2015

There's a protocol called Open Graph that allows you to specify metadata for social media sites. Add some these tags to your <head>:

<meta name="og:image" content="path/to/image" />
<meta name="og:site_name" content="Site Name" />

Now when you link to this page on a social media site, you'll get the preview you want. Provided of course that the social media site reads the Open Graph metadata.

Check out more optionsĀ on the Open Graph Protocol site.

Comments


This page is protected by reCAPTCHA and the Google
Privacy Policy and Terms of Service apply.

Phone: +1 514-918-7866 | E-mail: me@afilina.com