gatsby-source-opengraph-blogpost-metadata
v1.0.0
Published
gatsby plugin that sources opengraph metadata such as title, description, image, publishedTime, favicon and more
Downloads
3
Readme
gatsby-source-opengraph-blogpost-metadata
Pull opengraph metadata from opengraph.io API. You need to get your API key from opengraph.io
Metadata Response Example
in your graphql
{
allOgMetadataNode {
edges {
node {
title
description
id
url
favicon
articlePublishedTime
image
site_name
}
}
Gatsby-config.js
{
resolve: `gatsby-source-opengraph-blogpost-metadata`,
options: {
apiKey: 'your_api_key',
articlesUrlArray: 'articlesUrlsArray[]',
}
},
Have fun!