Consumer Endpoints: - 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

Any of the producer endpoints that take a reading#reading parameter can be used as a consumer endpoint. The polling consumer uses the since and until fields to get responses within the polling interval. In addition to other reading fields, an initial since value can be provided in the endpoint for the first poll.

Rather than the endpoints returning a List (or facebook4j.ResponseList) through a single route exchange, camel-facebook creates one route exchange per returned object. As an example, if "facebook://home" results in five posts, the route will be executed five times (once for each Post).

  1. URI Options #

Name

Type

Description

achievementURL

java.net.URL

The unique URL of the achievement

albumCreate

facebook4j.AlbumCreate

The facebook Album to be created

albumId

String

The album ID

allowNewOptions

boolean

True if allows other users to add new options

appId

String

The ID of the Facebook Application

center

facebook4j.GeoLocation

Location latitude and longitude

checkinCreate

facebook4j.CheckinCreate

The checkin to be created. Deprecated, instead create a Post with an attached location

checkinId

String

The checkin ID

commentId

String

The comment ID

description

String

The description text

distance

int

Distance in meters

domainId

String

The domain ID

domainName

String

The domain name

domainNames

String[]

The domain names

eventId

String

The event ID

eventUpdate

facebook4j.EventUpdate

The event to be created or updated

friendId

String

The friend ID

friendUserId

String

The friend user ID

friendlistId

String

The friend list ID

friendlistName

String

The friend list Name

groupId

String

The group ID

ids

String[]

The ids of users

includeRead

boolean

Enables notifications that the user has already read in addition to unread ones

link

java.net.URL

Link URL

linkId

String

The link ID

locale

java.util.Locale

Desired FQL locale

message

String

The message text

messageId

String

The message ID

metric

String

The metric name

name

String

Test user name, must be of the form 'first last'

noStory

boolean

If set to true, optionally suppresses the feed story that is automatically generated on a user's profile when they upload a photo using your application.

noteId

String

The note ID

notificationId

String

The notification ID

objectId

String

The insight object ID

optionDescription

String

The question's answer option description

options

java.util.List<String>

The question's answer options

permissionName

String

The permission name

permissions

String

Test user permissions in the format perm1,perm2,...

photoId

String

The photo ID

place

String

The Facebook ID of the place associated with the Photo

placeId

String

The place ID

postId

String

The post ID

postUpdate

facebook4j.PostUpdate

The post to create or update

queries

java.util.Map<String>

FQL queries

query

String

FQL query or search terms for search* endpoints

question

String

The question text

questionId

String

The question id

reading

facebook4j.Reading

Optional reading parameters. See Reading Options(#reading)

scoreValue

int

The numeric score with value

size

facebook4j.PictureSize

The picture size, one of large, normal, small or square

source

facebook4j.Media

The media content from either a java.io.File or java.io.Inputstream

subject

String

The note of the subject

tagUpdate

facebook4j.TagUpdate

Photo tag information

testUser1

facebook4j.TestUser

Test user

testUser2

facebook4j.TestUser

Test user

testUserId

String

The ID of the test user

title

String

The title text

toUserId

String

The ID of the user to tag

toUserIds

java.util.List<String>

The IDs of the users to tag

userId

String

The Facebook user ID

userId1

String

The ID of a user

userId2

String

The ID of a user

userIds

String[]

The IDs of users to invite to event

userLocale

String

The test user locale

videoId

String

The video ID