You can send a HTTTP GET Request to https://ogextractor.netlify.app/extract?url=<URL>
where URL is the url for which you want the Open Graph Data.
{
"success":true,
"title":"Sample Title",
"description": "Sample Description",
"url": "Sample URL",
"locale": "Sample Locale",
"image":"https://random.image.png",
"type":"Sample Type"
}
success
- Denotes if Open Graph data was extracted Successfully or not.true
orfalse
.title
- Theog:title
data or the<title>
tag data or theurl
orundefined
.description
- Theog:description
data orudefined
.url
- Theog:url
data or theurl
orudefined
.locale
- Theog:locale
data orundefined
.image
- Theog:image
data orundefined
.type
- Theog:type
data orundefined
.