Installing the Facebook-feed plugin can be done in one of two ways. Using GPM (Grav Package Manager) installation method or the manual method via a zip file.
The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's Terminal . From the root of your Grav install type:
bin/gpm install facebook-feed
- Download the Plugin
- Place the facebook-feed folder inside your Projects Plugin Section
The path should look like this: /your/site/grav/user/plugins/facebook-feed
- go to developers.facebook.com and create a new App and generate an Access Token
- Log into the Backend and open the Facebook Feed Plugin
- Pass the Facebook Page Id and your previously created AccessToken into the provided fields
- add the {{ facebook_feed() }} function anywhere to your site