og_property | R Documentation |
Extract a specific Open Graph property from a webpage.
og_property(url, property)
url |
A string representing the URL of the webpage to parse. |
property |
A string indicating the Open Graph property (e.g., "og:title" or "title"). |
A string containing the value of the specified property, or NA if not found.
og_property('https://www.rstudio.com', 'og:title')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.