Follow these steps to configure Facebook for Social Poster.
When posting to a Facebook Page, your Facebook App does not require review and approval by Facebook.
In order to post to a Facebook Page, you must be an Admin for the page you want to post to.
Ensure that you pick Facebook Login and not Facebook Login for Business, which are different products. If you must use Facebook Login for Business, you'll need to provide additional scopes, as per the below.
Some users are unable to choose any Pages from the dropdown for the settings of an account, once their app has been authorized. This is due to how your Facebook app has been setup in relation to the Pages it has access to. This may also be due to selecting the Facebook Login for Business and not Facebook Login.
If you're finding this is the case for you, ensure that you provide the business_management
additional scope. You'll need to disconnect and reconnect your account. You can do this by adding the following to your configuration file.
<?php
return [
'*' => [
// ...
'accounts' => [
'facebook' => [
// ...
'scopes' => [
'business_management',
],
],
],
]
];
Please note there are some limitations when it comes to posting to Facebook, due to Facebook API restrictions.
It is not possible to post to your Facebook Profile, due to Facebook removing the permission to do so. Even if you have a published app, you'll not be able to use this functionality anymore.
According to Facebook API docs (opens new window):
As of April 24,2018, the `publish_actions` permission has been removed. Please see the [Breaking Changes Changelog](https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#login-4-24) for more details. To provide a way for your app users to share content to Facebook, we encourage you to use our [Sharing products](https://developers.facebook.com/docs/sharing) instead.
Facebook's API's have become much more restricted in recent years, and in some cases you'll be required to submit your Facebook App for review. Credit to @geoffreyvandamme (opens new window) for outlining these steps.
pages_manage_posts
, pages_read_user_content
, etc). Click the "Request" button for each.You're required to explain why you require these permissions to use Facebook's APIs. Be as descriptive as possible, and you can follow a similar structure as the below (but please change it to your scenario and client needs).
We have a Craft CMS website for a client we are working with. We want to share content created on their website on social media, specifically Facebook. When our client saves an entry, we want it to automatically be pushed to Facebook - with their approval of course. This allows our client to not have to post their content in multiple places at once, saving massive amounts of time and effort.
We have purchased a plugin for Craft CMS called "Social Poster" (see https://verbb.io/craft-plugins/social-poster) that facilitates this.
Please refer to the attached screencast outlining the steps to connect and setup this plugin. The screencast shows posting to a Facebook Page successfully, but as the Facebook app is still in development mode, it will only appear to us.
Please login to our Craft CMS website, via:
https://craft-site.test/admin/
Username: *******
Password: *******
Proceed to https://craft-site.test/admin/entries/an-example-entry and on the right-hand side you'll see a widget to control these posts going to Facebook. Ensure that it is ticked as enabled, then hit the red "Save" button in the top-right of the page. The content of the entry you've edited should show on the Facebook Page successfully.
It's a requirement to provide a screencast, with a step-by-step outline of how you want to use Facebook's APIs. This must be a recording with voice included, it cannot be video-only. Ensure your screencast outlines the following:
You need to wait up to 5 days for Facebook to review your app. You can keep your Facebook App in "Development" mode, but no posts you make will be publicly visible, only visible to you.