Gatsby plugin to integrate Facebook Javascript SDK on your project.
npm install --save gatsby-plugin-facebook-sdk
or yarn add gatsby-plugin-facebook-sdk
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-facebook-sdk`,
options: {
appId: 'your-app-id',
...
},
},
];
You can find all initialization options in official Facebook SDK reference.