Reading Options - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

The reading option of type facebook4j.Reading adds support for reading parameters, which allow selecting specific fields, limits the number of results, etc. For more information see Graph API#reading - Facebook Developers.

It is also used by consumer endpoints to poll Facebook data to avoid sending duplicate messages across polls.

The reading option can be a reference or value of type facebook4j.Reading, or can be specified using the following reading options in either the endpoint URI or exchange header with CamelFacebook. prefix.

Option

Description

reading.fields

Field names to retrieve, in the format field1,field2,...

reading.limit

Limit for number of items to return for list results, e.g. a limit of 10 returns items 1 through 10

reading.offset

Starting offset for list results, e.g. a limit of 10, and offset of 10 returns items 11 through 20

reading.until

A Unix timestamp or strtotime data value that points to the end of the range of time-based data

reading.since

A Unix timestamp or strtotime data value that points to the start of the range of time-based data

reading.locale

Retrieve localized content in a particular locale, specified as a String with the format language[,country][,variant]

reading.with

Retrieve information about objects that have location information attached, set it to true

reading.metadata

Use Facebook Graph API Introspection to retrieve object metadata, set it to true

reading.filter

User's stream filter key. See https://developers.facebook.com/docs/technical-guides/fql