page.getOpenGraphDescription()

Retrieves the Open Graph description of the page.

Syntax

1page.getOpenGraphDescription(): Promise<string>

Returns

Promise<string>

A Promise that resolves to a string containing the Open Graph description of the page.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Get Open Graph Description
5const openGraphDescription = await currentPage.getOpenGraphDescription()
6console.log("Open Graph Description", openGraphDescription)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadPageSettingsAnyAnyAnyAny
Built with