How to create a Facebook App and use it to connect a Facebook Page from Cloud for Customer
You can use Cloud for Social Engagement to extract posts from your brand page on facebook and engage with fans on facebook.
This requires you to create a facebook channel in Cloud for Social Engagement to connect to the facebook page.
This document describes the basic steps to connect to your facebook page.
Before you start
Before you start configuring a channel, you need
1. A verified facebook user registered as a facebook developer.
Refer this link for facebook user verification – https://www.facebook.com/help/398085743567023/
You can register as a facebook developer using this link – https://developers.facebook.com/
2. Details of the facebook page you want to connect to, and the page admin credentials
You can create a new facebook page here – https://www.facebook.com/pages/create
Learn more about pages and page administration here – https://www.facebook.com/help/www/174987089221178
Register a Facebook App
Before you create a facebook channel in Cloud for Social Engagement, you will need to register an app on facebook. Facebook identifies any external application trying to access a facebook account or page by an app. Cloud for Social Engagement requests permission to access the page via the app you register.
To register an app, go to https://developers.facebook.com/
Under “Apps” click on “Create new app”
Enter a name for your app, select the category “Apps for pages” and create the app.
Add the app domain as shown. Also using the “Add Platform” add a website and maintain your tenant details.
Copy the App ID and App Secret. You will need this to configure the channel in Cloud for Social Engagement.
A single app can be used to connect to multiple pages.
Configure a Facebook Channel in Cloud for Social Engagement
The following steps are also described in the admin guide here – http://help.sap.com/saphelp_sapcloudforcustomer/en/PDF/EN-2.pdf
Log in as an administrator and go to Service and Social Settings.
Click on Social Media Channels and create a “New” channel.
Select channel type as facebook, provide the App ID and App Secret for the app you created.
Click on “Connect with Channel”, enter the page administrator credentials and allow access to the app.
Click on “Get Account Details” and the screen will show you all the pages you manage.
Select the page you want to connect with, provide an ID and select the default language (used for text analysis) and save.
Go back to the list view of channels, refresh and make sure the new channel you created appears there.
Click and open the channel for editing, and here you can create an import run for the messages from the facebook page and define the frequency at which you want the messages to be extracted. It is recommended to set up message extraction once every 5 minutes or more to make sure the app does not make too many API calls and exceed facebook API rate limits.
Refer the administration guide for further settings and details.
It is really a great post for integration between C4C and FaceBook.
When I finished all the steps, and create a message import run to load messages from FB.
After the job run, there is no data loaded from FB.
When I click "Connect with Channel" button, the page displayed as following picture. It reminds me that I cannot publish contents on facebook.
Could you help me to solve this?
Thanks for your help.
This image implies you to allow access to the C4C app, click "OK" to allow it. After doing so, please revisit the above configuration once.
For additional information, please do refer to the blog -
In case you are interested to create a Facebook App for the SAP Marketing Cloud I kindly refer to this blog: