Selecting a Facebook Page for RealTimeListener

Before using the RealTimeListener activity to subscribe to data changes in a Facebook page, enable the Facebook page to be managed by applications.

Prerequisites

Ensure that you have configured a process that contains a RealTimeListener activity.

Procedure

  1. Log on to Facebook, and then click Manage Apps of the DEVELOPER item in the left panel.
  2. Select the application that you want to use.
  3. In the left panel, click Settings > Basic.
  4. Select appropriate category from the Category list in the right panel, and then click Save Changes.
  5. Go to Graph API explorer and select valid Page Token for which you want to subscribe.
  6. In the Graph API tool, click on POST method and add susbcribed_fields(key) and feed(value) parameters. Use pageid/subscribed_apps in the tool and click Submit after selecting appropiate page token.
    Note: If you have completed this procedure, you can skip this step.
    The fields have been subscribed.
  7. In the Webhooks section, click Setup Webhooks.
    The New Page Subscription page is displayed, and the Callback URL and the Verify Token fields are filled automatically.
  8. Select the check boxes of the subscription fields that you want to subscribe to, and then click Verify and Save.