My friends and family are under attack in Ukraine. Donate to protect them directly or help international organizations.

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>:

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.

Previous: What Clients Are Really Saying Next: Testing Methods That Make Static Calls