Show Menu
TOPICS×

Creating a Facebook application

Thanks to web applications, Social Marketing lets you display personalized content in your Facebook applications, making it easier to acquire prospects via this social network. For more examples of Facebook type web applications, refer to Examples of Facebook apps .
It is also possible to integrate Adobe Campaign with a Facebook application developed by a partner. In this case, there is no need to use the Adobe Campaign web application to acquire Facebook profiles. For more on this, refer to Configuring external accounts .
Apply the following configuration steps:
  1. Create one or more Facebook applications. For more on this, refer to: Creating a Facebook application .
  2. Enter the terms of service and Privacy policy links to be displayed on the Facebook permission request screen. For more on this, refer to: Entering the Terms of service and Privacy policy links .
  3. For each Facebook application, create a Facebook Connect type external account. For more on this, refer to: Configuring external accounts .
  4. For each Facebook application, create a Facebook type web application in Adobe Campaign. For more on this, refer to: Creating a Facebook type web application .
  5. Configure your Facebook applications so that they are displayed as tabs on your Facebook page. For more on this, refer to: Configuring Facebook tabs .

Configuring external accounts

For each Facebook application, you need to create a Facebook Connect type external account.
This step requires access to both your Adobe Campaign console and an Internet browser logged on to the Facebook account which you use for page administration:
  • Facebook : select the previously created application ( https://developers.facebook.com/apps ), and select the Settings > Basic tab.
    If the Facebook Web Games section does not appear, click the Add Platform button, at the bottom of the page, and select Facebook Web Games .
  • Adobe Campaign : go to the Administration > Platform > External accounts node of the tree and click New .
  1. Enter a label and an internal name and select the Facebook Connect type.
  2. Select a hosting mode for the application: hosted by a partner or hosted by this instance .
    Application hosted by a partner
    It is possible to integrate Adobe Campaign with a Facebook application developed by a partner. In this case, there is no need to use the Adobe Campaign web applications to acquire Facebook profiles. When the Facebook user installs the application, a key (access token) is generated. The partner forwards this access token to Adobe Campaign by calling up a web service. Adobe Campaign then uses this token to log on to the Facebook database and collect the data shared by the user via the application.
    The parameters of the web service are detailed in the WSDL file available here: https://<Instance name>/nl/jsp/schemawsdl.jsp?schema=nms:visitor
    To integrate the third-party application into Adobe Campaign, you need to copy the content of the App ID and App Secret Facebook fields and paste it into the Application ID and Application secret fields of the console.
    Application hosted by this instance
    If you want to host the application on this instance (if you don't have a third-party application), you need to use the Adobe Campaign web applications to acquire Facebook profiles. For more on this, refer to Examples of Facebook apps .
    In the Adobe Campaign console, copy the address contained in the Secure Canvas URL field and paste it into the Facebook Web games (https) field on Facebook (in the Facebook Web Games section).
    You must not use the unsecure URL under any circumstances.
    On Facebook, copy the content of the App ID and App Secret fields and paste it into the Application ID and Application secret fields in the console.
  3. On Facebook, click the Save Changes button at the bottom of the page.
  4. In the Adobe Campaign console, click the Subscribe button to enable Adobe Campaign to recover the data in real time each time a fan checks in via this application. For more on this, refer to: Examples of Facebook apps .

Creating a Facebook type web application

The Adobe Campaign Facebook application lets you display personalized content in your Facebook application. For each Facebook application, you need to create a web application in Adobe Campaign. To create a Facebook web application, proceed as follows:
  1. Go to the Social networks universe, click the Applications link, then the Create button.
  2. Select a Facebook web application template from the list and enter the label.
    There are four Facebook web application templates offered by default:
    • New Facebook application : select this template if you want to start from a blank application.
    • Pre-entered form : Facebook application with a form and a "Facebook login" button which allows users to autofill the form's fields using the data from their profile. This allows the users to complete the form more quickly and for brands to obtain better quality information.
    • "Canvas page" competition : Facebook application that is displayed across the screen for a better visual experience for the users.
    • "Page Tab" competition : Facebook application fully integrated into the brand page tabs.
  3. In the Application field, enter the external account linked to the Facebook application. For more on this, refer to: Configuring external accounts .
  4. Select the Edit tab, then edit the web application. For more on this, refer to: Examples of Facebook apps .
  5. Once the web application is complete, select the Dashboard tab, then click Publish to publish online.

Configuring Facebook tabs

You can configure your Facebook applications to be displayed as tabs on your Facebook page. To do this, apply the following steps:
  1. Select the Facebook application ( https://developers.facebook.com/apps ), and select the Settings > Basic tab.
  2. At the bottom of the page, click the Add Platform button, and select Page Tab .
  3. In the Page Tab Name field of the Page Tab section, enter the label as you want it to appear on the Facebook page.
  4. In the Secure Page Tab URL field, enter the public URL of the web application, which is accessible via the Dashboard tab of the web application. For more on creating Facebook type web applications, refer to Creating a Facebook type web application .
  5. On the Dashboard of the web application, click the Add a page tab link.
  6. Select the Facebook page you want to add the tab to and click Add Page Tab .