Prerequisites for Creating a Connection

To use the Facebook Adapter, you must have access to the Facebook Graph API for your integration. To access the Graph API, you must create a Facebook application.

Note:

Create a separate Facebook application for every Oracle Integration Cloud Service instance.

Note:

Before creating a Facebook connection, you must upload the trusted Facebook public certificate to Oracle Integration Cloud Service. The Facebook public certificate can be downloaded from https://www.facebook.com. Rename the FacebookCertificate.txt file extension to .cer. To upload the certificate, see Uploading an SSL Certificate.
To create a Facebook application:
  1. Go to .https://developers.facebook.com
  2. Log in with your Facebook credentials or create an account if you do not currently have one.
  3. On the new page to which you are redirected, click Create a New App to create a new Facebook application.
    1. Provide a name for the application.
    2. Select a category for your application.

    You are redirected to the Facebook developer dashboard page. The application ID and application secret are displayed.

  4. Copy and paste these values because you need them later when creating an Facebook Adapter. The application ID represents the client ID and the application secret represents the client secret that you must specify when creating the connection. These keys are sensitive data, and must be kept secret.

    You also need to configure your Facebook application with the callback URL

  5. On the vertical train, perform the following steps:
    1. Click Settings.
    2. On the resulting page, click Advanced (settings).
    3. Find the Client OAuth Settings section.
    4. Under this section, find the Valid OAuth redirect URIs input field.
    5. Enter the callback URL using the following format:
      https://ICS_hostname:ICS_SSL_port_number/icsapis/agent/oauth/callback