Skip to content

Instantly share code, notes, and snippets.

@SerenadeX
Created May 29, 2015 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SerenadeX/62143cd421040ff1c50d to your computer and use it in GitHub Desktop.
Save SerenadeX/62143cd421040ff1c50d to your computer and use it in GitHub Desktop.

Social media cards

What needs to be done on each social network to get your website's pages to be presented properly.

Twitter

Twitter makes it very clear on their website. There are a few different types of cards and it involves putting <meta> tags on each of your pages for the relevant info.

Facebook

Facebook is a little more restrictive on what works for them. You need to create an app for your webpage to be able to post Open Graph stories


These two are the more prominent ones but there are a couple of others.

Google+

Google works in a way similar to Twitter in that you put in some metatags with schema.org info or Open Graph tags containing the info on your website. https://developers.google.com/+/web/snippet/article-rendering

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