Skip to content

Instantly share code, notes, and snippets.

@simahawk
Forked from magnetikonline/README.md
Created February 11, 2017 13:31
Show Gist options
  • Save simahawk/7988a56c09d2cac0bfc5419c8ee6bab8 to your computer and use it in GitHub Desktop.
Save simahawk/7988a56c09d2cac0bfc5419c8ee6bab8 to your computer and use it in GitHub Desktop.
Minimum Open Graph tags required for a webpage - for use with Facebook.

Open Graph tags for page <head>.

<meta property="og:title" content="title" />
<meta property="og:description" content="desc" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://url.com/" />
<meta property="og:image" content="http://url.com/image.jpg" />
  • For Facebook, og:image should be at least 200x200, preferably 1500x1500 pixels in size.
  • JPG images are best for Facebook.
  • More information on Open Graph at: http://ogp.me/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment