Facebook Connector 24.2

# Examples

The Facebook Connector supports data downloaded in either JSON or XML format. If the data is in JSON format, it is converted to XML in a standard way. The root tag of the resulting XML is always `<json>`.

The following is a typical JSON example as it might apply to the Facebook Connector:

    {
    "person":
      [
        {
        "firstName": "John",
        "lastName": "Smith",
        "age": 42,
        "phoneNumber": [ "0123456789", "0987654321" ],
        "address":
          {
          "street": "1 Some Street",
          "city": "Some Place",
          "country": "Somewhere",
          }
        }
      ]
    }

The following is a JSON example as XML with `JsonUseXmlAttributes=False`:

    <json>
      <person>
        <firstName>John</firstName>
        <lastName>Smith>/lastName>
        <age>42</age>
        <phoneNumber>0123456789</phoneNumber>
        <phoneNumber>0987654321</phoneNumber>
        <address>
    	<street>1 Some Street</street>
    	<city>Some Place</city>
    	<country>Somewhere</country>
        </address>
      </person>
    </json>

The following is a JSON example as XML with `JsonUseXmlAttributes=True`:

    <json>
      <person firstName="John" lastName="Smith" age="42">
        <phoneNumber>0123456789</phoneNumber>
        <phoneNumber>0987654321</phoneNumber>
        <address street="1 Some Street" city="Some Place" country="Somewhere"/>
      </person>
    </json>

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Facebook Connector 24.2

Topic Title: Examples