og_create {opengraph} | R Documentation |
Create Open Graph meta tags
Description
Create Open Graph meta tags
Usage
og_create(title, type, image, url, ...)
Arguments
title |
The title of your object as it should appear within the graph |
type |
The type of your object, e.g., "video.movie". Depending on the type you specify, other properties may also be required. |
image |
An image URL which should represent your object within the graph. |
url |
The canonical URL of your object that will be used as its permanent ID in the graph |
... |
Additional Open Graph properties |
Value
A character vector of Open Graph meta tags
Examples
og_create(
title = 'Process the Open Graph Protocol',
type = 'website',
image = 'http://christophertkenny.com/opengraph/logo.png',
url = 'https://christophertkenny.com/opengraph/',
description = 'Parse metadata on websites which use the Open Graph Protocol.'
)
[Package opengraph version 0.0.2 Index]