Open Graph metadata

og:type

Sets the Open Graph object type. It is one of the four required basic properties, and some types require extra metadata.

Parameters

article
Used for article pages, including news and blog posts.
<meta property="og:type" content="article">
video.movie
Specifies that the content is a movie.
<meta property="og:type" content="video.movie">
video.episode
Used for TV show episodes.
<meta property="og:type" content="video.episode">
video.tv_show
Indicates that the content is a TV show.
<meta property="og:type" content="video.tv_show">
video.other
For videos that don't fit other categories.
<meta property="og:type" content="video.other">
music.song
For individual songs.
<meta property="og:type" content="music.song">
music.album
Used for music albums.
<meta property="og:type" content="music.album">
music.playlist
Indicates a playlist of songs.
<meta property="og:type" content="music.playlist">
music.radio_station
Used for radio station profiles.
<meta property="og:type" content="music.radio_station">
book
For books and publications.
<meta property="og:type" content="book">
profile
Used for personal or professional profiles.
<meta property="og:type" content="profile">
website
A general page that does not fit other og:type categories.
<meta property="og:type" content="website">
export type Og:type =
     /**
   * Used for article pages, including news and blog posts.
  **/
    'article'
    /**
   * Specifies that the content is a movie.
  **/
    'video.movie'
    /**
   * Used for TV show episodes.
  **/
    'video.episode'
    /**
   * Indicates that the content is a TV show.
  **/
    'video.tv_show'
    /**
   * For videos that don't fit other categories.
  **/
    'video.other'
    /**
   * For individual songs.
  **/
    'music.song'
    /**
   * Used for music albums.
  **/
    'music.album'
    /**
   * Indicates a playlist of songs.
  **/
    'music.playlist'
    /**
   * Used for radio station profiles.
  **/
    'music.radio_station'
    /**
   * For books and publications.
  **/
    'book'
    /**
   * Used for personal or professional profiles.
  **/
    'profile'
    /**
   * A general page that does not fit other og:type categories.
  **/
    'website'

Code examples

Good example
<meta property="og:type" content="article">
The defined type for an article page.
Good example
<meta property="og:type" content="music.song">
The defined type for one song.
Avoid this example
<meta property="og:type" content="video">
Not a defined global type. Use a specific video type such as video.other.
Avoid this example
<meta property="og:type" content="blog">
Not a defined global type. Use article for a post or website for a general page.

Recommendations

  • 01
    Accurate Content Type
    Use the most specific defined type that describes the object. A general page can use website.
  • 02
    Add Type Properties
    Check the protocol for extra properties required by the type you choose.

Related documentation

Related meta tags

og:audio

property

Provides the URL of an audio file that accompanies the Open Graph object.

<meta property="og:audio" content="https://example.com/birdsong.mp3">
An absolute, public URL to the audio file.

Provides an alternate HTTPS URL for the audio declared by the preceding og:audio property.

<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
A valid HTTPS alternate for the audio resource.

Provides the MIME type of the audio resource declared by the preceding og:audio property.

<meta property="og:audio:type" content="audio/mpeg">
The registered media type for MP3 audio.

og:audio:url

property

An alias of og:audio. It provides the URL of an audio file that accompanies the object.

<meta property="og:audio:url" content="https://example.com/audio.mp3">
An absolute URL to the audio file.

Provides a one or two sentence description of the Open Graph object.

<meta property="og:description" content="A practical guide to choosing and caring for indoor plants in low-light rooms.">
Explains the subject in one specific sentence.