Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Facebook OpenGraph and Twitter Card meta tags #19

Open
zeke opened this issue Jan 18, 2016 · 2 comments
Open

Add Facebook OpenGraph and Twitter Card meta tags #19

zeke opened this issue Jan 18, 2016 · 2 comments

Comments

@zeke
Copy link
Member

zeke commented Jan 18, 2016

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="keywords" content="">

<meta property="fb:app_id" content="130164583741660" />
<meta name="twitter:site" content="@TheAVClub">

<meta property="og:title" content="Obama ends the Kendrick vs. Drake feud, declares Kendrick the better rapper" />
<meta property="og:url" content="https://www.avclub.com/article/obama-ends-kendrick-vs-drake-feud-declares-kendric-230839" />
<meta property="og:image" content="https://i.onionstatic.com/avclub/5681/68/16x9/1200.jpg" />
<meta property="og:description" content="2016 is President Obama’s last full year in office, and while he has many important issues to deal with in that year—global warming, curing cancer, fighting ISIS, growing the national economy—he did make time to answer one of the great questions of our era. Yes, seconds after answering what kind of "/>
<meta property="og:type" content="article" />
<meta property="article:publisher" content="https://www.facebook.com/theavclub" />
<meta property="article:published_time" content="2016-01-15T16:27:00-06:00" />

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Obama ends the Kendrick vs. Drake feud, declares Kendrick the better rapper">
<meta name="twitter:description" content="">
<meta property="twitter:image" content="https://i.onionstatic.com/avclub/5681/68/16x9/1200.jpg" />
@zeke
Copy link
Member Author

zeke commented Mar 11, 2016

A nice example: https://standupjack.com/

@zeke
Copy link
Member Author

zeke commented Mar 14, 2016

When the Twitter card processor looks for tags on your page, it first checks for the Twitter property, and if not present, falls back to the supported Open Graph property.

https://dev.twitter.com/cards/getting-started#opengraph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant