Early Access

Open Graph Meta Tags

og:type

Learn how to use the og:type meta tag to improve your site.

Defines the type of content being shared on social media platforms, such as articles, videos, or images. This tag helps social platforms understand and display the content in the most appropriate format.

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" />

Code Examples

<meta property="og:type" content="article" />
Best for blog posts or news articles, helping social platforms present the content with emphasis on the title and author.
<meta property="og:type" content="music.song" />
Ideal for pages dedicated to a single song, allowing social platforms to highlight the artist and album.
<meta property="og:type" content="video" />
Generic types like "video" are less effective than more specific types like "video.movie" or "video.other".
<meta property="og:type" content="website" />
Using "website" for content that better fits a more specific og:type (e.g., "article") may result in less engaging presentations on social media.

Recommendations

  • Accurate Content Type
    Select the most accurate content type for your page to ensure it is presented correctly on social media platforms.
  • Avoid Changing Type Frequently
    Frequently changing the og:type for a URL can confuse social platforms and may impact how your content is displayed or prioritized.

Related Documentation

Related Meta Tags

og:audio

property

Defines the audio content that will accompany your page when it is shared on social media platforms that support Open Graph.

<meta property="og:audio" content="http://example.com/birdsong.mp3">
Specifies an accessible MP3 audio file on a public server, which can be easily retrieved and played by the implementing social platform.

A secure URL to an audio file to accompany your object within the Graph. Used when the standard og:audio tag URL does not support SSL.

<meta property="og:audio:secure_url" content="https://example.com/music/song.mp3">
A valid, secure URL to an MP3 file that is optimized for web usage and has broad format support.

Defines the MIME type of the audio content referenced in the og:audio tag, ensuring platforms like Facebook understand how to process the linked audio file.

<meta property="og:audio:type" content="audio/mpeg">
Indicates an MP3 audio file, which is widely supported and commonly used for music files.

og:audio:url

property

Specifies the URL of the audio content to be used as a rich object in a social graph. It is meant for integrating audio content that represents the page or is closely related to the content of the page, enhancing its representation on social media platforms.

<meta property="og:audio:url" content="https://example.com/audio.mp3">
Specifies a direct URL to an MP3 file representing the audio content associated with the page.

Defines the description of your content as you want it to appear when shared on social platforms like Facebook, LinkedIn, and others that adhere to the Open Graph protocol.

<meta property="og:description" content="Discover the top 10 SEO strategies to boost your website's traffic in 2023. Click to learn more!">
This is concise, actionable, and provides a clear benefit, encouraging users to click through.