How to configure Autopost in a drupal 7 site

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

  1. Install dependencies
  2. Install autopost module
  3. Enable facebook autopost module
  4. Set the Facebook PHP SDK Library within the folder "sites/all/libraries"
  5. Configure a facebook application with your facebook developer account
    1. Get the Application ID
    2. Get the Application Secret
  6. Within the drupal configuration, select the facebook Autopost section
  7. Within the autopost configuration panel, we must set the
    1. Application ID
    2. Application Secret
    3. Login with the facebook user that has permissions to publish into the required page of facebook
  8. Configure rules to publish to facebook
    1. Create a Rule to publish to facebook
    2. Define which content types you want to publish
    3. Configure actions
      1. Publish the original content
      2. Create an Entity of type Facebook publication Entity
      3. Populate the Facebook publication Entity with data from the node created
      4. Pusblish the Facebook publication Entity
      5. Save the Facebook publicateion Entity Id once it has been pusblished
      6. Save the Entity