FacebookComponent - 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 facebook component can be configured with the Facebook account settings below, which are mandatory. The values can be provided to the component using the bean property configuration of type org.apache.camel.component.facebook.config.FacebookConfiguration. The oAuthAccessToken option may be ommited but that will only allow access to application APIs.

You can also configure these options directly in an endpoint URI.

Option

Description

oAuthAppId

The application Id

oAuthAppSecret

The application Secret

oAuthAccessToken

The user access token

In addition to the above settings, non-mandatory options below can be used to configure the underlying Facebook4J runtime through either the component's configuration property or in an endpoint URI.

Option

Description

Default Value

oAuthAuthorizationURL

OAuth authorization URL

https://www.facebook.com/dialog/oauth

oAuthPermissions

Default OAuth permissions. Comma separeted permission names. Seehttps://developers.facebook.com/docs/reference/login/#permissionsfor the detail

null

oAuthAccessTokenURL

OAuth access token URL

https://developers.facebook.com/docs/facebook-login/access-tokens

debugEnabled

Enables deubg output. Effective only with the embedded logger

false

gzipEnabled

Use Facebook GZIP encoding

true

httpConnectionTimeout

Http connection timeout in milliseconds

20000

httpDefaultMaxPerRoute

HTTP maximum connections per route

2

httpMaxTotalConnections

HTTP maximum total connections

20

httpProxyHost

HTTP proxy server host name

null

httpProxyPassword

HTTP proxy server password

null

httpProxyPort

HTTP proxy server port

null

httpProxyUser

HTTP proxy server user name

null

httpReadTimeout

Http read timeout in milliseconds

120000

httpRetryCount

Number of HTTP retries

0

httpRetryIntervalSeconds

HTTP retry interval in seconds

5

httpStreamingReadTimeout

HTTP streaming read timeout in milliseconds

40000

jsonStoreEnabled

If set to true, raw JSON forms will be stored in DataObjectFactory

false

mbeanEnabled

If set to true, Facebook4J mbean will be registerd

false

prettyDebugEnabled

prettify JSON debug output if set to true

false

restBaseURL

API base URL

https://graph.facebook.com/

useSSL

Use SSL

true

videoBaseURL

Video API base URL

https://graph-video.facebook.com/

clientURL

Facebook4J API client URL

http://facebook4j.org/en/facebook4j-<version>.xml

clientVersion

Facebook4J client API version

1.1.12