| java.lang.Object | |
| ↳ | org.mule.twitter.TwitterConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
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".
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | SITE_STREAM_BASE_URL | ||||||||||
| String | STREAM_BASE_URL | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| accessKey | The access key provided by Twitter | ||||||||||
| accessSecret | The access secret provided by Twitter | ||||||||||
| consumerKey | The consumer key used by this application | ||||||||||
| consumerSecret | The consumer key secret by this application | ||||||||||
| logger | |||||||||||
| proxyHost | Proxy host | ||||||||||
| proxyPassword | Proxy password | ||||||||||
| proxyPort | Proxy port | ||||||||||
| proxyUsername | Proxy username | ||||||||||
| stream | |||||||||||
| useSSL | Whether to use SSL in API calls to Twitter | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new place at the given latitude and longitude.
| |||||||||||
Destroys the status specified by the required ID parameter.
| |||||||||||
Asynchronously retrieves public statuses that match one or more filter predicates.
| |||||||||||
Asynchronously retrieves all public statuses.
| |||||||||||
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.
| |||||||||||
Returns the 20 most recent statuses from non-protected users who have set a
custom user icon.
| |||||||||||
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.
| |||||||||||
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.
| |||||||||||
Asynchronously retrieves all statuses containing 'http:' and 'https:'.
| |||||||||||
Start the OAuth request authorization process.
| |||||||||||
Retweets a tweet.
| |||||||||||
Search for places (cities and neighborhoods) that can be attached to a
statuses/update.
| |||||||||||
Asynchronously retrieves a random sample of all public statuses.
| |||||||||||
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
| |||||||||||
Asynchronously retrieves statutes for a set of supplied user's ids.
| |||||||||||
Updates the authenticating user's status.
| |||||||||||
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. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.mule.api.context.MuleContextAware
| |||||||||||
The access key provided by Twitter
The access secret provided by Twitter
The consumer key used by this application
The consumer key secret by this application
Proxy host
Proxy password
Proxy port
Proxy username
Whether to use SSL in API calls to Twitter
Creates a new place at the given latitude and longitude.
| placeName | The placeName a place is known as. |
|---|---|
| containedWithin | 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. |
| token | The token found in the response from geo/similar_places. |
| latitude | The latitude the place is located at. |
| longitude | The longitude the place is located at. |
| streetAddress | 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. |
| 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
| statusId | The ID of the status to destroy. |
|---|
| 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.| count | The number of previous statuses to stream before transitioning to the live stream. |
|---|---|
| userIds | The user ids to follow |
| keywords | The keywords to track |
| callback | The SourceCallback used to dispatch messages when a response is received |
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.| count | Indicates the number of previous statuses to consider for delivery before transitioning to live stream delivery. |
|---|---|
| callback | The SourceCallback used to dispatch messageswhen a response is received |
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.
| latitude | The latitude |
|---|---|
| longitude | The longitude |
| TwitterException | when Twitter service or network is unavailable |
|---|
Returns the top 20 trending topics for each hour in a given day.
| date | Starting date of daily trends. If no date is specified, current date is used |
|---|---|
| excludeHashTags | Whether hashtags should be excluded |
| TwitterException | when Twitter service or network is unavailable |
|---|
Find out more details of a place that was returned from the reverseGeoCode operation.
| id | The ID of the location to query about. |
|---|
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | Specifies the number of records to retrieve. Must be less than or equal to 200. |
| sinceId | 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. |
| 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.
| woeid | The WOEID of the location to be querying for |
|---|
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | 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. |
| sinceId | 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. |
| TwitterException | when Twitter service or network is unavailable |
|---|
Returns the 20 most recent statuses from non-protected users who have set a
custom user icon. The public timeline is cached for 60 seconds and requesting
it more often than that is unproductive and a waste of resources.
This method calls http://api.twitter.com/1/statuses/public_timeline
| 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
| statusId | The ID of the status you want to get retweeters of |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| statusId | The ID of the status you want to get retweeters of |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | 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. |
| sinceId | 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. |
| 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
| screenName | The user to view |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| userId | The user to view |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | 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. |
| sinceId | 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. |
| 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
| screenName | The user to view |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| userId | The user to view |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| statusId | The numerical ID of the tweet you want the retweets of. |
|---|
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | 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. |
| sinceId | 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. |
| 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
| page | Specifies the page of results to retrieve. |
|---|---|
| count | 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. |
| sinceId | 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. |
| 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
| screenName | The screen name of the user for whom to return results for |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| 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
| userId | Specifies the ID of the user for whom to return the user_timeline |
|---|---|
| page | Specifies the page of results to retrieve. |
| count | 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. |
| sinceId | 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. |
| TwitterException | when Twitter service or network is unavailable |
|---|
Returns the top 30 trending topics for each day in a given week.
| date | Starting date of daily trends. If no date is specified, current date is used |
|---|---|
| excludeHashTags | If all hashtags should be removed from the trends list. |
| TwitterException | when Twitter service or network is unavailable |
|---|
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.| count | Indicates the number of previous statuses to consider for delivery before transitioning to live stream delivery. |
|---|---|
| callback | The SourceCallback used to dispatch messages when a response is received |
Start the OAuth request authorization process.
| callbackUrl | The url to be requested when the user authorizes this app |
|---|
| 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
| statusId | The ID of the status to retweet. |
|---|
| 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.
| latitude | Latitude coordinate. Mandatory if ip is not specified |
|---|---|
| longitude | Longitude coordinate. |
| ip | The ip. Mandatory if coordinates are not specified |
| TwitterException | when Twitter service or network is unavailable |
|---|
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.| callback | The SourceCallback used to dispatch messages when a response is received |
|---|
Returns tweets that match a specified query.
This method calls http://search.twitter.com/search.json| query | The search query. |
|---|---|
| lang | Restricts tweets to the given language, given by an ISO 639-1 code |
| locale | 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. |
| maxId | If specified, returns tweets with status ids less than the given id |
| rpp | Sets the number of tweets to return per page, up to a max of 100 |
| page | Sets the page number (starting at 1) to return, up to a max of roughly 1500 results |
| since | If specified, returns tweets since the given date. Date should be formatted as YYYY-MM-DD |
| sinceId | Returns tweets with status ids greater than the given id. |
| geocode | 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 |
| radius | The radius to be used in the geocode -ONLY VALID IF A GEOCODE IS GIVEN- |
| unit | The unit of measurement of the given radius. Can be 'mi' or 'km'. Miles by default. |
| until | If specified, returns tweets with generated before the given date. Date should be formatted as YYYY-MM-DD |
| resultType | If specified, returns tweets included popular or real time or both in the responce. Both by default. Can be 'mixed', 'popular' or 'recent'. |
| 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.
| latitude | Latitude coordinate. Mandatory if ip is not specified |
|---|---|
| longitude | Longitude coordinate. |
| ip | The ip. Mandatory if coordinates are not specified |
| 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.
| screenName | The screen name of the user to whom send the direct message |
|---|---|
| message | The text of your direct message |
| 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.
| userId | The user ID of the user to whom send the direct message |
|---|---|
| message | The text of your direct message |
| TwitterException | when Twitter service or network is unavailable |
|---|
| accessToken |
|---|
| accessTokenSecret |
|---|
| consumerKey |
|---|
| consumerSecret |
|---|
| context |
|---|
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.
| oauthVerifier | The OAuth verifier code from Twitter. |
|---|
| TwitterException | when Twitter service or network is unavailable |
|---|
| proxyHost |
|---|
| proxyPassword |
|---|
| proxyPort |
|---|
| proxyUsername |
|---|
| useSSL |
|---|
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
| id | The numerical ID of the status you're trying to retrieve |
|---|
| TwitterException | when Twitter service or network is unavailable |
|---|
Answers user information for the authenticated user
| TwitterException | when Twitter service or network is unavailable |
|---|
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.| userIds | Ids of users to include in the stream |
|---|---|
| withFollowings | WithFollowings whether to receive status updates from people following |
| callback_ | The SourceCallback used to dispatch messages when a response is received |
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
| status | The text of your status update |
|---|---|
| inReplyTo | The ID of an existing status that the update is in reply to. |
| latitude | 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. |
| longitude | 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. |
| TwitterException | when Twitter service or network is unavailable |
|---|
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
| keywords | The keywords to track for new statuses |
|---|---|
| callback_ | The SourceCallback used to dispatch messages when a response is received |
| page | |
|---|---|
| count | |
| sinceId |