May
07
2016
By abernal
In order to configure the module autopost in a drupal site, consider the next items
Module
- Facebook Autopost
Dependencies
- Libraries
- Entity
- Features
- Facebook PHP SDK Library
Process
- Install dependencies
- Install autopost module
- Enable facebook autopost module
- Set the Facebook PHP SDK Library within the folder "sites/all/libraries"
- Configure a facebook application with your facebook developer account
- Get the Application ID
- Get the Application Secret
- Within the drupal configuration, select the facebook Autopost section
- Within the autopost configuration panel, we must set the
- Application ID
- Application Secret
- Login with the facebook user that has permissions to publish into the required page of facebook
- Configure rules to publish to facebook
- Create a Rule to publish to facebook
- Define which content types you want to publish
- Configure actions
- Publish the original content
- Create an Entity of type Facebook publication Entity
- Populate the Facebook publication Entity with data from the node created
- Pusblish the Facebook publication Entity
- Save the Facebook publicateion Entity Id once it has been pusblished
- Save the Entity