Property | Purpose | Usage Example |
---|---|---|
og:title | The title of your object as it should appear within the graph, e.g., "The Rock". | The Rock |
og:type | The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required. | website, article, video.movie |
og:url | The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/". | http://www.imdb.com/title/tt0117500/ |
og:description | A one to two sentence description of your object. | Sean Connery found fame and fortune as the suave, sophisticated British agent, James Bond. |
fb:app_id | Your Facebook app ID. | Learn more about Domain Insights |
fb:admins | An admin's user ID. Additional fb:admins should be declared in a new tag. | Learn more about Domain Insights |
og:determiner | The word that appears before this object's title in a sentence. An enum of (a, an, the, "", auto). If auto is chosen, the consumer of your data should chose between "a" or "an". Default is "" (blank). | the |
og:site_name | If your object is part of a larger web site, the name which should be displayed for the overall site. e.g., "IMDb". | IMDb |
og:locale | The locale these tags are marked up in. Of the format language_TERRITORY. Default is en_US. | en_GB |
og:locale:alternate | An array of other locales this page is available in. | fr_FR |
og:image | An image URL which should represent your object within the graph. | http://example.com/ogp.jpg |
og:image:secure_url | An alternate url to use if the webpage requires HTTPS. | https://secure.example.com/ogp.jpg |
og:image:type | A a href='http://en.wikipedia.org/wiki/Internet_media_type' target='_blank' MIME | type for this image. | image/jpeg |
og:image:width | The number of pixels wide. | 400 |
og:image:height | The number of pixels high. | 300 |
og:audio | A URL to an audio file to accompany this object. | http://example.com/bond/theme.mp3 |
og:audio:secure_url
/type | The og:audio tag only has the first 3 properties available (since size doesn't make sense for sound) | See the Open Graph docs. |
og:video | A URL to a video file that complements this object. | http://example.com/bond/trailer.swf |
og:video:secure_url
/type /width /height | The identical equivalents of og:image. | See the Open Graph docs. |
Property | Purpose | Notes |
---|---|---|
twitter:card | The card type | Used with all cards |
twitter:site | @username of website. Either twitter:site or twitter:site:id is required. | Used with summary, summary_large_image, photo, gallery, product, app, player cards |
twitter:site:id | Same as twitter:site, but the user’s Twitter ID. Either twitter:site or twitter:site:id is required. | Used with summary, summary_large_image, photo, gallery, product, player cards |
twitter:creator | @username of content creator | Used with summary_large_image, photo, gallery, product cards |
twitter:creator:id | Twitter user ID of content creator | Used with summary, summary_large_image, photo, gallery, product cards |
twitter:description | Description of content (maximum 200 characters) | Used with summary, summary_large_image, gallery, product, player cards |
twitter:title | Title of content (max 70 characters) | Used with summary, summary_large_image, photo, gallery, product, player cards |
twitter:image:src | URL of image to use in the card. Image must be less than 1MB in size | Used with summary, summary_large_image, photo, product, and player cards. Make sure the image is at least 280px wide by 150px tall. Visit here for more info. |
twitter:image:width | Width of image in pixels | Used with summary, photo, product, player cards |
twitter:image:height | Height of image in pixels | Used with summary, photo, product, player cards |
twitter:image0, twitter:image1, twitter:image2, twitter:image3 | 1st, 2nd, 3rd, and 4th image in the gallery, respectively. Images must be less than 1MB in size | Used with gallery card |
twitter:player | HTTPS URL of player iframe | Used with player card |
twitter:player:height | Height of iframe in pixels | Used with player card |
twitter:player:stream | URL to raw video or audio stream | Used with player card |
twitter:data1 | Top customizable data field, can be a relatively short string (ie “$3.99”) | Used with product card |
twitter:label1 | Customizable label or units for the information in twitter:data1 (best practice: use all caps) | Used with product card |
twitter:data2 | Bottom customizable data field, can be a relatively short string (ie “Seattle, WA”) | Used with product card |
twitter:label2 | Customizable label or units for the information in twitter:data1 (best practice: use all caps) | Used with product card |
twitter:app:name:iphone | Name of your iPhone app | Used with app card |
twitter:app:id:iphone | Your app ID in the iTunes App Store (Note: NOT your bundle ID) | Used with app card |
twitter:app:url:iphone | Your app’s custom URL scheme (you must include “://” after your scheme name) | Used with app card |
twitter:app:name:ipad | Name of your iPad optimized app | Used with app card |
twitter:app:id:ipad | Your app ID in the iTunes App Store | Used with app card |
twitter:app:url:ipad | Your app’s custom URL scheme | Used with app card |
twitter:app:name:googleplay | Name of your Android app | Used with app card |
twitter:app:id:googleplay | Your app ID in the Google Play Store | Used with app card |
twitter:app:url:googleplay | Your app’s custom URL scheme | Used with app card |
Property | Purpose | Usage Example |
---|---|---|
article:author | Writers of the article. | |
article:section | A high-level section name. | Technology |
article:tag | Tag words associated with this article. | Technology, Blogging |
article:published_time | When the article was first published. | 2013-09-17T05:59:00+01:00 |
article:modified_time | When the article was last changed. | 2013-09-16T19:08:47+01:00 |
article:expiration_time | 2013-12-16T19:08:47+01:00 | When the article is out of date after. |
Property | Purpose | Usage Example |
---|---|---|
itemtype | Tell G+ what type of page this is. | Article, Blog, Event, Local Business, etc. |
name | The page title. | My Cool Blog |
description | A brief description of the page. | This blog talks about digital marketing and SEO. |
image | Thumbnail image for the Google+ preview card. | http://www.example.com/image.jpg |