Skip to content

Instantly share code, notes, and snippets.

@theaccordance
Created May 6, 2013 15:14
Show Gist options
  • Select an option

  • Save theaccordance/5525771 to your computer and use it in GitHub Desktop.

Select an option

Save theaccordance/5525771 to your computer and use it in GitHub Desktop.
Method for implementing Facebook Open Graph tags into a website. Facebook Open Graph requires Title, Type, Image, and URL fields as mandatory. Description is beneficial, but optional. Admin tag allows FB user to gain additional information on interaction between website and Facebook via Facebook Insights. Content attribute for Admins tag must be…
<meta property="og:title" content="Title Goes Here" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://josephmainwaring.com/images/jm-avatar.png"/>
<meta property="og:url" content="http://josephmainwaring.com" />
<meta property="og:description" content="A short description to supply Open Graph" />
<meta property="fb:admins" content='42' />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment