0.0.1 • Published 4 years ago

gatsby-source-facebook-page v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

gatsby-source-facebook-page

npm i gatsby-source-facebook-page
yarn add gatsby-source-facebook-page

Want to show information from your Facebook page in your Gatsby application? Then this is the package for you.

Install this package, and add 'gatsby-source-facebook-page' to your plugins array in gatsby-config.js.

You must have a variable in your .env file called FACEBOOK_PAGE_ACCESS_TOKEN and another called FACEBOOK_PAGE_FIELDS. You can find this information here.

Once you have added the environment variables above, you can run gatsby develop. Proceed to the GraphQL interface e.g. localhost:3000/___graphql.

You can then run the following query to fetch all your Yell reviews.