diff --git a/docs/src/reference/docbook/twitter.xml b/docs/src/reference/docbook/twitter.xml index 60198e8b2f..55dfd9bd42 100644 --- a/docs/src/reference/docbook/twitter.xml +++ b/docs/src/reference/docbook/twitter.xml @@ -5,7 +5,8 @@
Register an app link and fill out all required fields on the form provided;
+ Register an app link and fill out all required fields on the form provided;
set Application Type to Client and depending on the nature of your application select
Default Access Type as Consumer Key
- and Consumer Secret. Copy both values in the safe place.Consumer Secret. Copy both values in a safe place.My Access Token button on the side bar (right).
+ My Access Token button on the side bar (right).
Click on it and you'll be presented with two more values: Access Token and Access Token Secret.
Copy these values in a safe place as well.attributes as constructor arguments filling them with values you have obtained in the previous step.
- The order of constructor arguments is: 1) consumerKey; 2) consumerSecret;
- 3) accessToken; 4) accessTokenSecret;
+ As you can see from the configuration above, all we need to do is to provide
+ OAuth attributes as constructor arguments. The values would be those you obtained in the previous step.
+ The order of constructor arguments is: 1) consumerKey, 2) consumerSecret,
+ 3) accessToken, and 4) accessTokenSecret.
property-placeholder pointing to he above property file:
+ Then, you can configure a property-placeholder to point to the above property file:
property-placeholder pointing to he above propert
twitter-template. Once configured the Twitter Messages would be
- encapsulated into a Spring Integration Message and sent to a channel specified via channel attribute.
+ Some may need to be injected with the twitter-template. Once received each Twitter Message would be
+ encapsulated in a Spring Integration Message and sent to the channel specified by the channel attribute.
Currently the Payload type of any Message is getText() method.
+ simply invoke the getText() method.
channel attribute.
+ This adapter allows you to send regular status updates by simply sending a Message to the channel
+ identified by the channel attribute.
twitter-template
+ The only extra configuration that is required for this adapter is the twitter-template reference.
channel attribute.
+ This adapter allows you to send Direct Twitter Messages (i.e., @user) by simply sending a Message to the channel
+ identified by the channel attribute.
twitter-template
+ The only extra configuration that is required for this adapter is the twitter-template reference.