CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
manson031
Explorer
Dear All,

In this blog, I would like to share the updated configuration steps involved in integration of SAP Service Cloud with Facebook.

1. Pre-requisites for Integration:



  • SAP C4C Administrator Access for configuration.

  • Facebook access with Developer portal access (Please visit https://developers.facebook.com/ for registration and other details).

  • Facebook page for integration & testing.


2. Configurations in Facebook:


Creation of Facebook App:



  1. Log in to Facebook App / website - https://www.facebook.com/

    • If you already have Facebook account, log in to it.

    • If new user, create a new Facebook account.



  2. Once you logged into Facebook, go to “Account (Profile Photo on top right) à Settings & Privacy à Settings”.

  3. Under “Privacy” tab, scroll down to bottom page and click on “Developers” to access Facebook’s Developer Portal.

  4. Clicking on “Developers” link take you to ‘Meta for Developers’ page with the same logged in user.

  5. Click on “My Apps” to App creation page.

  6. Click on “Create App” icon to start creating Facebook App for C4C Integration.

  7. On clicking “Create App”, a new page “Create an App” will be opened asking for selecting “Use Case”. Here select “Other” and click on ‘Next’.

  8. In next page, select App Type as “Business” and click on ‘Next’.

  9. Under “Details” tab, enter App Name, App Contact Email (automatically picked based on logged in user), Business Account (Optional). After entering all details, click on “Create App”.

  10. A new Facebook App is created, and you will see the below shown page.

  11. Go to “Settings à Basic”. This will open a dialog box asking for few details. Here, enter the needed details as shown.

    • App ID & App Secret = Auto generated.

    • Display Name = Auto picked the name that you entered during creation of App. If required, you can change the name.

    • App Domains = crm.ondemand.com

    • Contact Email = Auto picked from logged in user.

    • Category = Select any suitable category from dropdown.Example: Business and Pages.

    • Scroll to the bottom of the page and click on “+ Add platform” icon.

    • A pop-up window will be opened asking for selecting the platform. Here, you can select in which platform, the app should be available.

    • Example: In our case, platform should be C4C system. Hence, Select “Website” and click on ‘Next’.

    • A website section will be added. Here, enter the URL of C4C tenant for which you wish to connect Facebook.

    • After entering the ‘Website’ details, click on “Save Changes”.



  12. Go to “Settings à Advanced”. This will open a dialog box asking for few details. Within this dialog box, go to “App Page” and click on “Create New Page” icon.

  13. On clicking “Create New Page” a new tab will be opened for creation of new Facebook page.

  14. Enter all needed details and click on “Create Page”

    • Page Name = Please enter the page name same as Facebook App name. In our case, it will be “SAP Service Cloud Interface”.

    • Category = Select one or more categories based on the nature of customer’s business Example: Internet Service Provider, telecommunication company, etc..

    • Bio (Optional) = Enter a summary of the page.



  15. If needed, add all other details, and complete the Facebook page creation.

  16. Once the page is created, log in again to Facebook and go to “Settings à Advanced”.

  17. Go to “App Page” section and select the create Facebook page from the drop down. If you have more than one page, select all the needed pages for integration.

  18. After selecting the page, save the changes.

  19. Go to “Dashboard”, and select “Facebook Login for Business “ and click on ‘Set up’.

  20. Now a new page will be opened. Here, enter the Valid OAuth redirect URLs as https://myXXXXXX.crm.ondemand.com/sap/byd/oauth/facebook

  21. Here XXXXXX = denotes your C4C tenant ID. After entering, save the changes.

  22. Now all the Facebook settings needed for C4C Integration is now completed.

  23. If you go to “My Apps”, you will see your created App.


3. Configurations in SAP Service Cloud:


Scoping & Scoping Questions:

  1. As an Administrator, scope SAP C4C Service Cloud for Facebook integration and other related features. Business Configuration --> Implementation Projects --> Select your project --> Edit Project Scope --> Scoping & Questions.


Creation of Facebook Social Media Channel:

  1. As an Administrator, navigate to “Administrator --> Service and Social --> Social Media Channels”.

  2. Click on “New” button to create new Social Media Channel.

  3. On creation page, enter the following details.

    • Social Media Channel Type à

    • App ID = Enter the App ID from Facebook App that we have created (Settings -> Basics)

    • App Secret = Enter App Secret from Facebook App that we have created. (Settings -> Basics)

    • Run Initial Import From = Enter Date & Time from which you want to fetch the details from Facebook page.

    • Log Level = Select any one based on your need.

    • Direct Messages = Select any one based on your need.

    • Remove Assigned Processor = Set to ‘Yes’ based on your need. (If set to Yes, then when a ticket is re-opened from this channel, then Processor (Assigned To) will be automatically removed.

    • Create Ticket for Direct Message Only =  Set to ‘Yes’ based on your need. When the switch is on, ticket is only created for direct message; when the switch is off, ticket is created for both direct message and public message.




Connect SAP Service Cloud with Facebook Channel:

  1. Click on “Connect with Channel” button to log on to Facebook channel website to complete the authentication.

  2. Clicking on “Connect with Channel” will open a new tab asking you to logon to Facebook. Log on the same account you used to create the App.

  3. Once you successfully logged in, continue as the same admin user.

  4. In the next pop-up window, select the Opt In for future pages or only Existing pages. In existing pages, select our created page – SAP Service Cloud Interface.

  5. Click on “Continue”.

  6. Click on 'Save'.

  7. Now authentication is complete.


Setup Channel by fetching the Account details from Facebook:

  1. Click on “Get Account Details” button within social media channel creation page in C4C.

  2. On clicking on “Get Account Details” button, Facebook channel/page will be fetched and displayed.


  3. In the fetched channel, enter Channel ID, language, Select for Monitoring to ‘Yes’ and save the channel.

  4. Facebook social media channel is successfully created and configured.


Create Social Media Import Runs (for Facebook):

  1. As a administrator, go to “Administrator --> Service and social --> Social Media Message Import Runs”.

  2. Click on ‘New à Creation Run’ to create a new import run.

  3. In Import run creation page, enter Run Description and add the Channel ID that we have created in C4C.

  4. Activate the import run.

  5. New Import run is created.

  6. Select the created run and click on ‘Schedule’ button. Here you can schedule the create import run on timely basis as per your need.

  7. This run will then fetch the direct messages, comments, etc. from Facebook page.

  8. Once the configuration is done, all posts/broadcasts in facebook page, comments, likes, direct messages from Facebook will be transferred to SAP Service Cloud systems.

  9. Also, Service Employess can also reply,like,comment,direct message, etc from SAP Service Cloud to Facebook.


With the above configuration steps,I hope the guide would be helpful for who would like to integrate their SAP Service Cloud system with Facebook, as this guide contains all the udpated steps for the integration.

I would be happy to share the working model with End-End Integration of SAP Service Cloud & Facebook with various scenarios. Please let me know in the COMMENTS section.

Last but not least,

If you liked reading my blog post, please LIKE the post.

If you have any queries/commensts, please COMMENT on the post.

Best Regards - Manson J