Early Access

Open Graph Meta Tags

og:audio:secure_url

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

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.

Code Examples

<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.
<meta property="og:audio:secure_url" content="http://example.com/music/song.mp3" />
A URL using HTTP, which is not secure and may not be supported on all platforms enforcing secure connections.
<meta property="og:audio:secure_url" content="https://example.com/podcast/episode1.ogg" />
A secure URL to an audio file in OGG format, which offers good quality and is supported by many browsers.
<meta property="og:audio:secure_url" content="https://example.com/music/highquality.wav" />
While secure, WAV files are typically very large and not optimized for web usage, potentially leading to slow loading times.

Recommendations

  • Ensure SSL Certification
    Make sure that the secure URL provided has a valid SSL certificate to avoid security warnings on most browsers.
  • Use Alongside og:audio
    Always use og:audio:secure_url in conjunction with the og:audio tag to ensure compatibility with platforms that might not default to secure protocols.
  • Audio Format Compatibility
    Check that the audio format of the file is widely supported for an optimal user experience across various platforms.
  • Verify Audio Load Time
    Ensure that the audio file is optimized for web use to prevent long load times, which can negatively impact user engagement and sharing.

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.