Facebook Marketing Responder setup guide - snowplow-archive/sauna GitHub Wiki

HOME > GUIDE FOR DEVOPS > SETTING UP SAUNA > RESPONDERS > Facebook Marketing Responder setup guide

This responder has not yet been released.

See also: Facebook Marketing Responder user guide

Contents

Overview

This responder lets you interact with the Facebook Marketing API, so you can market to your customers from inside Facebook.

Compatibility

This responder will be released in Sauna version TBC.

Facebook Marketing setup

  • TREVOR TO ADD THESE INSTRUCTIONS
  • You will need the App ID, App Secret and Access Token as provided in the section below

Sauna setup

Avro schema

The Facebook Marketing Responder must be configured using a self-describing Avro which validates against this JSON Schema:

iglu:com.snowplowanalytics.sauna.responders/FacebookMarketingConfig/avro/1-0-0

Where:

  • appId is the Facebook application ID as specified in the Credentials section
  • appSecret is the Facebook application secret as specified in the Credentials section
  • accessToken is the Facebook application access token as specified in the Credentials section

Example

We can enable this responder by placing following Avro configurations in the configuration directory (filename must have extension .avro or .json):

{
    "schema": "iglu:com.snowplowanalytics.sauna.responders/FacebookMarketingConfig/avro/1-0-0",

    "data": {
        "enabled": true,
        "id": "com.acme.MyFacebookMarketingResponder",
        "parameters": {
            "appId": "512106",
            "appSecret": "00a481eb2358fcb9566d",
            "accessToken": "1234567890........"
        }
    }
}
⚠️ **GitHub.com Fallback** ⚠️