The Facebook component provides access to all of the Facebook APIs accessible using Facebook4J. It allows producing messages to retrieve, add, and delete posts, likes, comments, photos, albums, videos, photos, checkins, locations, links, etc. It also supports APIs that allow polling for posts, users, checkins, groups, locations, etc.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
methodName | path | common | true | java.lang.String | What operation to perform | ||
achievementURL | parameter | common | java.net.URL | The unique URL of the achievement | |||
albumId | parameter | common | java.lang.String | The album ID | |||
albumUpdate | parameter | common | facebook4j.AlbumUpdate | The facebook Album to be created or updated | |||
appId | parameter | common | java.lang.String | The ID of the Facebook Application | |||
center | parameter | common | facebook4j.GeoLocation | Location latitude and longitude | |||
checkinId | parameter | common | java.lang.String | The checkin ID | |||
checkinUpdate | parameter | common | facebook4j.CheckinUpdate | The checkin to be created. Deprecated, instead create a Post with an attached location @deprecated instead create a Post with an attached location | |||
clientURL | parameter | common | java.lang.String | Facebook4J API client URL | |||
clientVersion | parameter | common | java.lang.String | Facebook4J client API version | |||
commentId | parameter | common | java.lang.String | The comment ID | |||
commentUpdate | parameter | common | facebook4j.CommentUpdate | The facebook Comment to be created or updated | |||
debugEnabled | parameter | common | false | java.lang.Boolean | Enables deubg output. Effective only with the embedded logger | ||
description | parameter | common | java.lang.String | The description text | |||
distance | parameter | common | java.lang.Integer | Distance in meters | |||
domainId | parameter | common | java.lang.String | The domain ID | |||
domainName | parameter | common | java.lang.String | The domain name | |||
domainNames | parameter | common | java.util.List |
The domain names | |||
eventId | parameter | common | java.lang.String | The event ID | |||
eventUpdate | parameter | common | facebook4j.EventUpdate | The event to be created or updated | |||
friendId | parameter | common | java.lang.String | The friend ID | |||
friendlistId | parameter | common | java.lang.String | The friend list ID | |||
friendlistName | parameter | common | java.lang.String | The friend list Name | |||
friendUserId | parameter | common | java.lang.String | The friend user ID | |||
groupId | parameter | common | java.lang.String | The group ID | |||
gzipEnabled | parameter | common | true | java.lang.Boolean | Use Facebook GZIP encoding | ||
httpConnectionTimeout | parameter | common | 20000 | java.lang.Integer | Http connection timeout in milliseconds | ||
httpDefaultMaxPerRoute | parameter | common | 2 | java.lang.Integer | HTTP maximum connections per route | ||
httpMaxTotalConnections | parameter | common | 20 | java.lang.Integer | HTTP maximum total connections | ||
httpReadTimeout | parameter | common | 120000 | java.lang.Integer | Http read timeout in milliseconds | ||
httpRetryCount | parameter | common | 0 | java.lang.Integer | Number of HTTP retries | ||
httpRetryIntervalSeconds | parameter | common | 5 | java.lang.Integer | HTTP retry interval in seconds | ||
httpStreamingReadTimeout | parameter | common | 40000 | java.lang.Integer | HTTP streaming read timeout in milliseconds | ||
ids | parameter | common | java.util.List |
The ids of users | |||
inBody | parameter | common | java.lang.String | Sets the name of a parameter to be passed in the exchange In Body | |||
includeRead | parameter | common | java.lang.Boolean | Enables notifications that the user has already read in addition to unread ones | |||
isHidden | parameter | common | java.lang.Boolean | Whether hidden | |||
jsonStoreEnabled | parameter | common | false | java.lang.Boolean | If set to true, raw JSON forms will be stored in DataObjectFactory | ||
link | parameter | common | java.net.URL | Link URL | |||
linkId | parameter | common | java.lang.String | Link ID | |||
locale | parameter | common | java.util.Locale | Desired FQL locale | |||
mbeanEnabled | parameter | common | false | java.lang.Boolean | If set to true, Facebook4J mbean will be registerd | ||
message | parameter | common | java.lang.String | The message text | |||
messageId | parameter | common | java.lang.String | The message ID | |||
metric | parameter | common | java.lang.String | The metric name | |||
milestoneId | parameter | common | java.lang.String | The milestone id | |||
name | parameter | common | java.lang.String | Test user name, must be of the form 'first last' | |||
noteId | parameter | common | java.lang.String | The note ID | |||
notificationId | parameter | common | java.lang.String | The notification ID | |||
objectId | parameter | common | java.lang.String | The insight object ID | |||
offerId | parameter | common | java.lang.String | The offer id | |||
optionDescription | parameter | common | java.lang.String | The question's answer option description | |||
pageId | parameter | common | java.lang.String | The page id | |||
permissionName | parameter | common | java.lang.String | The permission name | |||
permissions | parameter | common | java.lang.String | Test user permissions in the format perm1,perm2,... | |||
photoId | parameter | common | java.lang.String | The photo ID | |||
pictureId | parameter | common | java.lang.Integer | The picture id | |||
pictureId2 | parameter | common | java.lang.Integer | The picture2 id | |||
pictureSize | parameter | common | facebook4j.PictureSize | square small normal large |
The picture size | ||
placeId | parameter | common | java.lang.String | The place ID | |||
postId | parameter | common | java.lang.String | The post ID | |||
postUpdate | parameter | common | facebook4j.PostUpdate | The post to create or update | |||
prettyDebugEnabled | parameter | common | false | java.lang.Boolean | Prettify JSON debug output if set to true | ||
queries | parameter | common | java.util.Map |
FQL queries | |||
query | parameter | common | java.lang.String | FQL query or search terms for search* endpoints | |||
questionId | parameter | common | java.lang.String | The question id | |||
reading | parameter | common | facebook4j.Reading | Optional reading parameters. See Reading Options(#reading) | |||
readingOptions | parameter | common | java.util.Map |
To configure {@link Reading} using key/value pairs from the Map. | |||
restBaseURL | parameter | common | https://graph.facebook.com/ | java.lang.String | API base URL | ||
scoreValue | parameter | common | java.lang.Integer | The numeric score with value | |||
size | parameter | common | facebook4j.PictureSize | square small normal large |
The picture size, one of large, normal, small or square | ||
source | parameter | common | facebook4j.Media | The media content from either a java.io.File or java.io.Inputstream | |||
subject | parameter | common | java.lang.String | The note of the subject | |||
tabId | parameter | common | java.lang.String | The tab id | |||
tagUpdate | parameter | common | facebook4j.TagUpdate | Photo tag information | |||
testUser1 | parameter | common | facebook4j.TestUser | Test user 1 | |||
testUser2 | parameter | common | facebook4j.TestUser | Test user 2 | |||
testUserId | parameter | common | java.lang.String | The ID of the test user | |||
title | parameter | common | java.lang.String | The title text | |||
toUserId | parameter | common | java.lang.String | The ID of the user to tag | |||
toUserIds | parameter | common | java.util.List |
The IDs of the users to tag | |||
userId | parameter | common | java.lang.String | The Facebook user ID | |||
userId1 | parameter | common | java.lang.String | The ID of a user 1 | |||
userId2 | parameter | common | java.lang.String | The ID of a user 2 | |||
userIds | parameter | common | java.util.List |
The IDs of users to invite to event | |||
userLocale | parameter | common | java.lang.String | The test user locale | |||
useSSL | parameter | common | true | java.lang.Boolean | Use SSL | ||
videoBaseURL | parameter | common | https://graph-video.facebook.com/ | java.lang.String | Video API base URL | ||
videoId | parameter | common | java.lang.String | The video ID | |||
bridgeErrorHandler | parameter | consumer | boolean | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates an exchange. | ||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | ||
httpProxyHost | parameter | proxy | java.lang.String | HTTP proxy server host name | |||
httpProxyPassword | parameter | proxy | java.lang.String | HTTP proxy server password | |||
httpProxyPort | parameter | proxy | java.lang.Integer | HTTP proxy server port | |||
httpProxyUser | parameter | proxy | java.lang.String | HTTP proxy server user name | |||
oAuthAccessToken | parameter | security | java.lang.String | The user access token | |||
oAuthAccessTokenURL | parameter | security | https://graph.facebook.com/oauth/access_token | java.lang.String | OAuth access token URL | ||
oAuthAppId | parameter | security | java.lang.String | The application Id | |||
oAuthAppSecret | parameter | security | java.lang.String | The application Secret | |||
oAuthAuthorizationURL | parameter | security | https://www.facebook.com/dialog/oauth | java.lang.String | OAuth authorization URL | ||
oAuthPermissions | parameter | security | java.lang.String | Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail |
The Facebook consumer.