Skip to content

Instantly share code, notes, and snippets.

@syeef
Created February 4, 2017 23:25
Show Gist options
  • Save syeef/a79ae31d01f5c7d86fd36b0439ec1b2f to your computer and use it in GitHub Desktop.
Save syeef/a79ae31d01f5c7d86fd36b0439ec1b2f to your computer and use it in GitHub Desktop.
<!-- Google -->
<meta name="description" content=""> <!-- Fill content with a description which will show in search results -->
<meta name="keywords" content=""> <!-- Fill content with search terms -->
<meta name="author" content=""> <!-- Fill content with your name -->
<meta name="copyright" content="">
<meta name="application-name" content="Personal Website">
<!-- Facebook / LinkedIn-->
<meta property="og:title" content=""/> <!-- Fill content with the title which will show in bold when shared in messenger / news feed -->
<meta property="og:type" content="article"/>
<meta property="og:image" content=""/> <!-- Fill content with an absolute link to an image which will show in messenger / news feed -->
<meta property="og:url" content=""/> <!-- Fill content with an absolute link -->
<meta property="og:description" content=""/> <!-- Fill content with a description which will show in messenger / news feed -->
<!-- Twitter -->
<meta name="twitter:title" content=""> <!-- Fill content with a title which will show in timeline -->
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content=""> <!-- Fill content with an absolute link which will show in timeline -->
<meta name="twitter:description" content=""> <!-- Fill content with a description which will show in timeline -->
@syeef
Copy link
Author

syeef commented Feb 4, 2017

Include this within the head tags on a webpage

Validate using:
• Google - https://www.google.com/webmasters/tools/submit-url
• Facebook - https://developers.facebook.com/tools/debug/sharing/
• Twitter - https://cards-dev.twitter.com/validator
• General check - http://socialdebug.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment