Facebook#

Follow these steps to configure Facebook for Social Feeds.

Your Facebook App does not require review and approval by Facebook to use Social Feeds.

Connecting to Facebook#

Step 1. Admin Access to Facebook Page or Facebook Group#

In order to fetch posts from a Facebook Page or Facebook Group, you must be an Admin for the page/group you want to access.

Step 2: Register a Facebook App#

  1. Go to the Meta for Developers page.
  2. Click the Create App button.
  3. Select Other and click the Next button.
  4. Select Business and click the Next button.
  5. Fill in the App Name and App Contact Email. The Business Portfolio is optional.

Step 3: Setup Facebook Login#

  1. Once created, in the left-hand sidebar, click the Add Product button.
  2. Under Facebook Login for Business click the Set Up button.
  3. A warning banner will appear Are you looking for other options? to switch to Facebook Login. Click the Switch to Facebook Login link.
  4. Select Certain platforms aren’t available with this product (or any other applicable option) in the modal window and click the Switch to Facebook Login button.
  5. Navigate to the Facebook Login section in the left-hand sidebar, click Settings.
  6. For the Valid OAuth Redirect URIs setting, enter the value from the Redirect URI field in Social Feeds.
  7. Click the Save Changes button.
  8. Navigate to App SettingsBasic item in the left-hand sidebar.
  9. Enter your domain name to the App Domains field.
  10. Click the Save Changes button.
  11. Copy the App ID from Facebook and paste in the Client ID field in Social Feeds.
  12. Copy the App Secret from Facebook and paste in the Client Secret field in Social Feeds.
  13. Save the Social Feeds source, ready to connect.

Step 4: Connect to Facebook#

  1. In the Social Feeds source settings, click the Connect button and login to Facebook.
  2. Ensure you pick either the Facebook Group or Facebook Page you have admin access to.

Step 5: Select your Facebook Page or Facebook Group#

  1. Select either a Facebook Page or a Facebook Group that you'd like connected to.
  2. Click the Save button for the source.

Business Pages#

If you are connecting to a Facebook Page connected to a business, you'll need to supply additional scopes in your configuration.

<?php

return [
    '*' => [
        // ...
        'sources' => [
            'facebook' => [
                // ...
                'scopes' => [
                    'business_management',
                ],
            ],
        ],
    ]
];

Available Content#

Facebook provides the following types of content as posts.

  • Page Feed (Posts from your Facebook page)
  • Photos (Photos from your Facebook Photos page)
  • Videos (Videos from your Facebook Videos page)
  • Events (Events from your Facebook Events page)
  • Group Feed (Posts from your Facebook group)
  • Photos (Photos from your Facebook Photos group)
  • Videos (Videos from your Facebook Videos group)
  • Events (Events from your Facebook Events group)

Previous ← Cache Next Instagram →