Skip to content

Instantly share code, notes, and snippets.

@randyjensen
Created August 30, 2013 01:20
Show Gist options
  • Save randyjensen/6385344 to your computer and use it in GitHub Desktop.
Save randyjensen/6385344 to your computer and use it in GitHub Desktop.
Meta Data For Social Networks
Facebook Open Graph
<head>
<meta property="og:title" content="Title Goes Here">
<meta property="og:description" content="description-goes-here">
<meta property="og:type" content="your-content-type-goes-here"> (e.g., "article")
<meta property="og:url" content="http://www.your-site.com/">
<meta property="og:image" content="http://www.your-site.com/image.jpg">
<meta property="og:site_name" content="your-site-name">
<meta property="fb:admins" content="your-Facebook-page-user-ID">
</head>
Twitter Cards
<head>
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="http://www.example.com/your-url-goes-here/">
<meta name="twitter:title" content="Title Goes Here">
<meta name="twitter:description" content="Your description goes here.">
<meta name="twitter:image" content="http://example.com/image.jpg">
</head>
Google+
<html itemscope itemtype="http://schema.org/Article">
<head>
<meta itemprop="name" content="Title Goes Here">
<meta itemprop="description" content="Description Goes Here">
<meta itemprop="image" content="http://example.com/image.jpg">
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment