Skip to main content

OpenGraph

Overview​

OpenGraph defines the metadata used for sharing a webpage on social media platforms. It includes attributes like title, description, and images to enhance the content's visibility and presentation when shared.

Attributes​

title​

type: string (optional)

The title of the webpage, displayed prominently in the shared content.

description​

type: string (optional)

A description of the webpage, providing additional context about the shared content.

images​

type: string[] (optional)

A list of URLs pointing to images associated with the webpage. These images are displayed in the shared content.

type​

type: string (optional)

The OpenGraph type of the webpage (e.g., "website", "article", "video").