Designer API
Control the Webflow Designer
page.getOpenGraphDescription()
Retrieves the Open Graph description of the page.
1page.getOpenGraphDescription(): Promise<string>
Promise<string>
string
A Promise that resolves to a string containing the Open Graph description of the page.
1// Get Current Page2const currentPage = await webflow.getCurrentPage() as Page34// Get Open Graph Description5const openGraphDescription = await currentPage.getOpenGraphDescription()6console.log("Open Graph Description", openGraphDescription)
Try this example