| Namespace | http://www.mulesoft.org/schema/mule/twitter |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/twitter/current/mule-twitter.xsd (View Schema) |
| Schema Version | 2.4 |
| Minimum Mule Version | 3.4 |
Twitter is an online social networking service and microblogging service that enables its users to send and read text-based posts of up to 140 characters, known as "tweets".
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Sources | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Asynchronously retrieves public statuses that match one or more filter predicates.
| |||||||||||
Asynchronously retrieves all public statuses.
| |||||||||||
Asynchronously retrieves all statuses containing 'http:' and 'https:'.
| |||||||||||
Asynchronously retrieves a random sample of all public statuses.
| |||||||||||
Asynchronously retrieves statutes for a set of supplied user's ids.
| |||||||||||
Retrieves the following user updates notifications:
- New Statuses - Block/Unblock events - Follow events - User profile updates - Retweets - List creation/deletion - List member addition/remotion - List subscription/unsubscription - List updates - Profile updates Such notifications are represented as org.mule.twitter.UserEvent objects Only one Twitter stream can be consumed using the same credentials. | |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new place at the given latitude and longitude.
| |||||||||||
Destroys the status specified by the required ID parameter.
| |||||||||||
Returns the sorted locations that Twitter has trending topic information for.
| |||||||||||
Returns the top 20 trending topics for each hour in a given day.
| |||||||||||
Find out more details of a place that was returned from the reverseGeoCode
operation.
| |||||||||||
Returns the 20 most recent statuses, including retweets, posted by the
authenticating user and that user's friends.
| |||||||||||
Returns the top 10 trending topics for a specific location Twitter has trending
topic information for.
| |||||||||||
Returns the 20 most recent mentions (status containing @username) for the
authenticating user.
| |||||||||||
Show user objects of up to 100 members who retweeted the status.
| |||||||||||
Show user ids of up to 100 users who retweeted the status represented by id
This method calls http://api.twitter.com/1/statuses/:id/retweeted_by/ids.format | |||||||||||
Returns the 20 most recent retweets posted by the authenticating user.
| |||||||||||
Returns the 20 most recent retweets posted by the specified user.
| |||||||||||
Returns the 20 most recent retweets posted by the specified user.
| |||||||||||
Returns the 20 most recent retweets posted by the authenticating user's
friends.
| |||||||||||
Returns the 20 most recent retweets posted by users the specified user
follows.
| |||||||||||
Returns the 20 most recent retweets posted by users the specified user
follows.
| |||||||||||
Returns up to 100 of the first retweets of a given tweet.
| |||||||||||
Returns the 20 most recent tweets of the authenticated user that have been
retweeted by others.
| |||||||||||
Locates places near the given coordinates which are similar in name.
| |||||||||||
Returns the 20 most recent statuses posted from the authenticating user.
| |||||||||||
Returns the 20 most recent statuses posted from the authenticating user.
| |||||||||||
Returns the 20 most recent statuses posted from the authenticating user.
| |||||||||||
Returns the top 30 trending topics for each day in a given week.
| |||||||||||
Start the OAuth request authorization process.
| |||||||||||
Retweets a tweet.
| |||||||||||
Search for places (cities and neighborhoods) that can be attached to a
statuses/update.
| |||||||||||
Returns tweets that match a specified query.
| |||||||||||
Search for places that can be attached to a statuses/update.
| |||||||||||
Sends a new direct message to the specified user from the authenticating user.
| |||||||||||
Sends a new direct message to the specified user from the authenticating user.
| |||||||||||
Set the OAuth verifier after it has been retrieved via requestAuthorization.
| |||||||||||
Returns a single status, specified by the id parameter below.
| |||||||||||
Answers user information for the authenticated user
| |||||||||||
Updates the authenticating user's status.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:twitter="http://www.mulesoft.org/schema/mule/twitter"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/twitter
http://www.mulesoft.org/schema/mule/twitter/current/mule-twitter.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| The consumer key used by this application | |||||||||||
| The consumer key secret by this application | |||||||||||
| Optional. Proxy host | |||||||||||
| Optional. Proxy password | |||||||||||
| -1 | Optional. Proxy port | ||||||||||
| Optional. Proxy username | |||||||||||
| true | Optional. Whether to use SSL in API calls to Twitter | ||||||||||
This connector offers automatic connection management via the use of a connection pool. The pool will act a storage mechanism for all the connections that are in-use by the user of this connector.
Prior to execution of a processor, the connector will attempt to lookup an already established connection and if one doesn't exists it will create one. That lookup mechanism is done in the connection pool via the use of connection variables declared as keys.
The user of the connector can configure the pool by adding a connection-pooling-profile to the connector configuration like this:
<twitter:connection-pooling-profile maxActive="10" maxIdle="10"
exhaustedAction="WHEN_EXHAUSTED_GROW" maxWait="120" minEvictionMillis="60000" evictionCheckIntervalMillis="30000"/>
The following is a list of connection attributes, each connection attribute can be configured at the config element level or they can also be added to each processor. If they are used at the processor level they get the benefit of full expression resolution.
| Connection Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
| Optional. Specify which configuration to use. | |||||||||||
| The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
Reconnection Strategies specify how a connector behaves when its connection fails. You can control how Mule attempts to reconnect by specifying a number of criteria:
With a reconnection strategy, you can better control the behavior of a failed connection, by configuring it, for example, to re-attempt the connection only once every 15 minutes, and to give up after 30 attempts. You can also send an automatic notification to your IT administrator whenever this reconnection strategy goes into effect. You can even define a strategy that attempts to reconnect only during business hours. Such a setting can prove useful if your server is frequently shut down for nightly maintenance.
A reconnection strategy that allows the user to configure how many times a reconnection should be attempted and how long to wait between attempts.
<twitter:config>
<reconnect count="5" frequency="1000"/>
</twitter:config>
| Reconnect Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | |||||||||
| Optional. How often (in ms) to reconnect | |||||||||||
| Optional. How many reconnection attempts to make | |||||||||||
For more information about reconnection strategies in Mule, or even how to write your own custom reconnection strategy please check this section.
Creates a new place at the given latitude and longitude.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The placeName a place is known as. | String | */* | UTF-8 | ||||||||
| The place_id within which the new place can be found. Try and be as close as possible with the containing place. For example, for a room in a building, set the contained_within as the building place_id. | String | */* | UTF-8 | ||||||||
| The token found in the response from geo/similar_places. | String | */* | UTF-8 | ||||||||
| The latitude the place is located at. | Double | */* | |||||||||
| The longitude the place is located at. | Double | */* | |||||||||
| Optional. Optional: This parameter searches for places which have this given street address. There are other well-known, and application specific attributes available. Custom attributes are also permitted. Learn more about Place Attributes. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Place | a new Place |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Destroys the status specified by the required ID parameter.
Usage note: The authenticating user must be the author of the specified
status.
This method calls http://api.twitter.com/1/statuses/destroy
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The ID of the status to destroy. | long | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Status | the deleted Status |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the sorted locations that Twitter has trending topic information for.
The response is an array of "locations" that encode the location's WOEID
(a Yahoo! Where On Earth ID)
and some other human-readable information such as a canonical name and country the
location belongs in.
The available trend locations will be sorted by distance to the lat
and long passed in. The sort is nearest to furthest.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. The latitude | Double | */* | |||||||||
| Optional. The longitude | Double | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Location> | the Locations |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the top 20 trending topics for each hour in a given day.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. Starting date of daily trends. If no date is specified, current date is used | Date | */* | |||||||||
| false | Optional. Whether hashtags should be excluded | boolean | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<Trends> | a list of Trends objects |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Find out more details of a place that was returned from the reverseGeoCode operation.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The ID of the location to query about. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Place | a Place |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent statuses, including retweets, posted by the
authenticating user and that user's friends. This is the equivalent of
/timeline/home on the Web.
Usage note: This home_timeline call is identical to statuses/friends_timeline,
except that home_timeline also contains retweets, while
statuses/friends_timeline does not for backwards compatibility reasons. In a
future version of the API, statuses/friends_timeline will be deprected and
replaced by home_timeline.
This method calls http://api.twitter.com/1/statuses/home_timeline
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of records to retrieve. Must be less than or equal to 200. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | list of Status of the home Timeline |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the top 10 trending topics for a specific location Twitter has trending topic information for. The response is an array of "trend" objects that encode the name of the trending topic, the query parameter that can be used to search for the topic on Search, and the direct URL that can be issued against Search. This information is cached for five minutes, and therefore users are discouraged from querying these endpoints faster than once every five minutes. Global trends information is also available from this API by using a WOEID of 1.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. The WOEID of the location to be querying for | int | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Trends | trends |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent mentions (status containing @username) for the
authenticating user.
This method calls http://api.twitter.com/1/statuses/mentions
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent mentions (Status containing @username) for the authenticating user. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Show user objects of up to 100 members who retweeted the status.
This method calls http://api.twitter.com/1/statuses/:id/retweeted_by
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The ID of the status you want to get retweeters of | long | */* | |||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 100 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<User> | the list of User who retweeted your status |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Show user ids of up to 100 users who retweeted the status represented by id
This method calls
http://api.twitter.com/1/statuses/:id/retweeted_by/ids.format
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The ID of the status you want to get retweeters of | long | */* | |||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 100 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| IDs | IDs of users who retweeted the stats |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by the authenticating user.
This method calls http://api.twitter.com/1/statuses/retweeted_by_me
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by the specified user. This method
is identical to statuses/retweeted_by_me except you can choose the user to
view.
This method has not been finalized and the interface is subject to change in
incompatible ways.
This method calls http://api.twitter.com/1/statuses/retweeted_by_user
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The user to view | String | */* | UTF-8 | ||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by the specified user. This method
is identical to statuses/retweeted_by_me except you can choose the user to
view.
This method has not been finalized and the interface is subject to change in
incompatible ways.
This method calls http://api.twitter.com/1/statuses/retweeted_by_user
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The user to view | long | */* | |||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by the authenticating user's
friends.
This method calls http://api.twitter.com/1/statuses/retweeted_to_me
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user's friends. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by users the specified user
follows. This method is identical to statuses/retweeted_to_me except you can
choose the user to view.
This method has not been finalized and the interface is subject to change in
incompatible ways.
This method calls http://api.twitter.com/1/statuses/retweeted_to_user
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The user to view | String | */* | UTF-8 | ||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user's friends. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent retweets posted by users the specified user
follows. This method is identical to statuses/retweeted_to_me except you can
choose the user to view.
This method has not been finalized and the interface is subject to change in
incompatible ways.
This method calls http://api.twitter.com/1/statuses/retweeted_to_user
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The user to view | long | */* | |||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent retweets (Status) posted by the authenticating user's friends. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns up to 100 of the first retweets of a given tweet.
This method calls http://api.twitter.com/1/statuses/retweets
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The numerical ID of the tweet you want the retweets of. | long | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the retweets (Status) of a given tweet |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent tweets of the authenticated user that have been
retweeted by others.
This method calls http://api.twitter.com/1/statuses/retweets_of_me
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | the 20 most recent tweets (Status)of the authenticated user that have been retweeted by others. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Locates places near the given coordinates which are similar in name. Conceptually you would use this method to get a list of known places to choose from first. Then, if the desired place doesn't exist, make a request to POST geo/place to create a new one. The token contained in the response is the token needed to be able to create a new place.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The latitude to search around. This parameter will be ignored unless it is inside the range -90.0 to +90.0 (North is positive) inclusive. It will also be ignored if there isn't a corresponding long parameter. | Double | */* | |||||||||
| The longitude to search around. The valid ranges for longitude is -180.0 to +180.0 (East is positive) inclusive. This parameter will be ignored if outside that range, if it is not a number, if geo_enabled is disabled, or if there not a corresponding lat parameter. | Double | */* | |||||||||
| The name a place is known as. | String | */* | UTF-8 | ||||||||
| Optional. This is the place_id which you would like to restrict the search results to. Setting this value means only places within the given place_id will be found. | String | */* | UTF-8 | ||||||||
| Optional. This parameter searches for places which have this given street address. There are other well-known, and application specific attributes available. Custom attributes are also permitted. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| SimilarPlaces | places |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent statuses posted from the authenticating user. It's
also possible to request another user's timeline via the id parameter.
This is the equivalent of the Web / page for your own user, or the profile
page for a third party.
For backwards compatibility reasons, retweets are stripped out of the
user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and
Atom). If you'd like them included, you can merge them in from statuses
retweeted_by_me.
This method calls http://api.twitter.com/1/statuses/user_timeline.json
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | list of Status the user Timeline |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent statuses posted from the authenticating user. It's
also possible to request another user's timeline via the id parameter.
This is the equivalent of the Web / page for your own user, or the profile
page for a third party.
For backwards compatibility reasons, retweets are stripped out of the
user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and
Atom). If you'd like them included, you can merge them in from statuses
retweeted_by_me.
This method calls http://api.twitter.com/1/statuses/user_timeline.json
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The screen name of the user for whom to return results for | String | */* | UTF-8 | ||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | list of Status of the user Timeline |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the 20 most recent statuses posted from the authenticating user. It's
also possible to request another user's timeline via the id parameter.
This is the equivalent of the Web / page for your own user, or the profile
page for a third party.
For backwards compatibility reasons, retweets are stripped out of the
user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and
Atom). If you'd like them included, you can merge them in from statuses
retweeted_by_me.
This method calls http://api.twitter.com/1/statuses/user_timeline.json
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Specifies the ID of the user for whom to return the user_timeline | long | */* | |||||||||
| 1 | Optional. Specifies the page of results to retrieve. | int | */* | ||||||||
| 20 | Optional. Specifies the number of tweets to try and retrieve, up to a maximum of 200. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied. | int | */* | ||||||||
| -1 | Optional. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available. | long | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Status> | list of Status of the user Timeline |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns the top 30 trending topics for each day in a given week.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. Starting date of daily trends. If no date is specified, current date is used | Date | */* | |||||||||
| false | Optional. If all hashtags should be removed from the trends list. | boolean | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| List<Trends> | a list of Trends objects |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Start the OAuth request authorization process.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. The url to be requested when the user authorizes this app | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| RequestToken | The user request token. For retrieving the authorization URL please call requestToken.getAuthorizationURL() |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Retweets a tweet. Returns the original tweet with retweet details embedded.
This method calls http://api.twitter.com/1/statuses/retweet
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The ID of the status to retweet. | long | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Status | the retweeted Status |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Search for places (cities and neighborhoods) that can be attached to a
statuses/update. Given a latitude and a longitude, return a list of all the
valid places that can be used as a place_id when updating a status.
Conceptually, a query can be made from the user's location, retrieve a list of
places, have the user validate the location he or she is at, and then send the
ID of this location up with a call to statuses/update.
There are multiple granularities of places that can be returned --
"neighborhoods", "cities", etc. At this time, only United States data is
available through this method.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. Latitude coordinate. Mandatory if ip is not specified | Double | */* | |||||||||
| Optional. Longitude coordinate. | Double | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Place> | a ResponseList of Place |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns tweets that match a specified query.
This method calls http://search.twitter.com/search.jsonINCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The search query. | String | */* | UTF-8 | ||||||||
| Optional. Restricts tweets to the given language, given by an ISO 639-1 code | String | */* | UTF-8 | ||||||||
| Optional. Specify the language of the query you are sending (only ja is currently effective). This is intended for language-specific clients and the default should work in the majority of cases. | String | */* | UTF-8 | ||||||||
| Optional. If specified, returns tweets with status ids less than the given id | Long | */* | |||||||||
| Optional. Sets the number of tweets to return per page, up to a max of 100 | Integer | */* | |||||||||
| Optional. Sets the page number (starting at 1) to return, up to a max of roughly 1500 results | Integer | */* | |||||||||
| Optional. If specified, returns tweets since the given date. Date should be formatted as YYYY-MM-DD | String | */* | UTF-8 | ||||||||
| Optional. Returns tweets with status ids greater than the given id. | Long | */* | |||||||||
| Optional. A String containing the latitude and longitude separated by ','. Used to get the tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile | String | */* | UTF-8 | ||||||||
| Optional. The radius to be used in the geocode -ONLY VALID IF A GEOCODE IS GIVEN- | String | */* | UTF-8 | ||||||||
| mi | Optional. The unit of measurement of the given radius. Can be 'mi' or 'km'. Miles by default. | String | */* | UTF-8 | |||||||
| Optional. If specified, returns tweets with generated before the given date. Date should be formatted as YYYY-MM-DD | String | */* | UTF-8 | ||||||||
| Optional. If specified, returns tweets included popular or real time or both in the responce. Both by default. Can be 'mixed', 'popular' or 'recent'. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| QueryResult | the QueryResult |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Search for places that can be attached to a statuses/update. Given a latitude and a longitude pair, or and IP address, this request will return a list of all the valid places that can be used as the place_id when updating a status.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. Latitude coordinate. Mandatory if ip is not specified | Double | */* | |||||||||
| Optional. Longitude coordinate. | Double | */* | |||||||||
| Optional. The ip. Mandatory if coordinates are not specified | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| ResponseList<Place> | a ResponseList of Place |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Sends a new direct message to the specified user from the authenticating user. Requires both the user and text parameters below. The text will be trimmed if the length of the text is exceeding 140 characters.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The screen name of the user to whom send the direct message | String | */* | UTF-8 | ||||||||
| The text of your direct message | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| DirectMessage | the DirectMessage |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Sends a new direct message to the specified user from the authenticating user. Requires both the user and text parameters below. The text will be trimmed if the length of the text is exceeding 140 characters.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The user ID of the user to whom send the direct message | long | */* | |||||||||
| The text of your direct message | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| DirectMessage | the DirectMessage |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Set the OAuth verifier after it has been retrieved via requestAuthorization. The resulting access tokens will be logged to the INFO level so the user can reuse them as part of the configuration in the future if desired.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Optional. Request token from Twitter | RequestToken | */* | |||||||||
| The OAuth verifier code from Twitter. | String | */* | UTF-8 | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| AccessToken | Twitter AccessToken info. |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Returns a single status, specified by the id parameter below. The status's
author will be returned inline.
This method calls http://api.twitter.com/1/statuses/show
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The numerical ID of the status you're trying to retrieve | long | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Status | a single Status |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Answers user information for the authenticated user
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| User | a User object |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Updates the authenticating user's status. A status update with text identical
to the authenticating user's text identical to the authenticating user's
current status will be ignored to prevent duplicates.
This method calls http://api.twitter.com/1/statuses/update
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The text of your status update | String | */* | UTF-8 | ||||||||
| -1 | Optional. The ID of an existing status that the update is in reply to. | long | */* | ||||||||
| Optional. The latitude of the location this tweet refers to. This parameter will be ignored unless it is inside the range -90.0 to +90.0 (North is positive) inclusive. | Double | */* | |||||||||
| Optional. He longitude of the location this tweet refers to. The valid ranges for longitude is -180.0 to +180.0 (East is positive) inclusive. This parameter will be ignored if outside that range or if there not a corresponding lat parameter. | Double | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Return Type | Description |
|---|---|
| Status | the latest Status |
| Payload Class | Description |
|---|---|
| TwitterException | when Twitter service or network is unavailable |
Asynchronously retrieves public statuses that match one or more filter predicates.
At least a keyword or userId must be specified. Multiple parameters may be specified. Placing long parameters in the URL may cause the request to be rejected for excessive URL length. The default access level allows up to 200 track keywords and 400 follow userids. Only one Twitter stream can be consumed using the same credentials. As a consequence, only one twitter stream can be consumed per connector instance.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| 0 | Optional. The number of previous statuses to stream before transitioning to the live stream. | int | */* | ||||||||
| The SourceCallback used to dispatch messages when a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| Optional. The user ids to follow | List<String> | ||
| Optional. The keywords to track | List<String> |
Asynchronously retrieves all public statuses. This stream is not generally available - it requires special permissions and its usage is discouraged by Twitter
Only one Twitter stream can be consumed using the same credentials. As a consequence, only one twitter stream can be consumed per connector instance.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Indicates the number of previous statuses to consider for delivery before transitioning to live stream delivery. | int | */* | |||||||||
| The SourceCallback used to dispatch messageswhen a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
Asynchronously retrieves all statuses containing 'http:' and 'https:'. Like Firehorse, its is not a generally available stream
Only one Twitter stream can be consumed using the same credentials. As a consequence, only one twitter stream can be consumed per connector instance.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Indicates the number of previous statuses to consider for delivery before transitioning to live stream delivery. | int | */* | |||||||||
| The SourceCallback used to dispatch messages when a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
Asynchronously retrieves a random sample of all public statuses. The sample size and quality varies depending on the account permissions
The default access level provides a small proportion of the Firehose. The "Gardenhose" access level provides a proportion more suitable for data mining and research applications that desire a larger proportion to be statistically significant sample. Only one Twitter stream can be consumed using the same credentials. As a consequence, only one twitter stream can be consumed per connector instance.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The SourceCallback used to dispatch messages when a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
Asynchronously retrieves statutes for a set of supplied user's ids. Site Streams are a beta service, so refer always to latest twitter documentation about them.
Only one Twitter stream can be consumed using the same credentials. As a consequence, only one twitter stream can be consumed per connector instance.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| false | Optional. WithFollowings whether to receive status updates from people following | boolean | */* | ||||||||
| The SourceCallback used to dispatch messages when a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| Ids of users to include in the stream | List<String> |
Retrieves the following user updates notifications:
- New Statuses
- Block/Unblock events
- Follow events
- User profile updates
- Retweets
- List creation/deletion
- List member addition/remotion
- List subscription/unsubscription
- List updates
- Profile updates
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The SourceCallback used to dispatch messages when a response is received | SourceCallback | */* | |||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. The access key provided by Twitter | String | */* | UTF-8 | ||||||||
| Optional. The access secret provided by Twitter | String | */* | UTF-8 | ||||||||
| Name | Default Value | Description | Java Type |
|---|---|---|---|
| The keywords to track for new statuses | List<String> |