Difference between revisions of "Twitter-update-status"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== {{GVESB}} allows, using the Twitter operations, to invoke the API exposed by the social platform. =={{VULCON}} / {{GVCONSOLE}} Configuration== Following a desc...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
  
{{GVESB}} allows, using the Twitter operations, to invoke the API exposed by the social platform.
+
{{GVESB}} allows, using the Twitter operations, to invoke the API exposed by the social platform to send a tweet.
  
 
=={{VULCON}} / {{GVCONSOLE}} Configuration==
 
=={{VULCON}} / {{GVCONSOLE}} Configuration==
  
Following a description of Twitter-update-status element.
+
Following a description of twitter-update-status element.
  
 
The following table shows the element's attributes:
 
The following table shows the element's attributes:
Line 17: Line 17:
 
| name || required || Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
 
| name || required || Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
 
|-
 
|-
| dynamic || not required || Reference a Rule set.
+
| dynamic || optional || Specify if the account attribute can contain placeholders to be resolved at runtime.
 
|-
 
|-
| input-ref-dp || required || Name of Data Provider to be used to prepare the facts to be inserted in the session. This Data Provider (ex. a MapDataProvider) will receive in input a GVBuffer and must return a map of named objects.
+
| account || required || Twitter [[TwitterSocialAdapter#Account | account]] name.
 
|-
 
|-
| globals-ref-dp || optional || Name of Data Provider to be used to prepare the objects to be inserted as Globals in the session.
+
| statusText || required || New status for Twitter (Tweet to send). Can contains placeholders to be resolved at runtime.
This Data Provider (ex. a MapDataProvider) will receive in input a GVBuffer and must return a map of named objects.
+
'''ATTENTION''': the final message is automatically truncated at a length of 140 characters.
If the name of some Globals start with "OUT" then those object are inserted in a map and passed as #input to the output-ref-dp Data Provider.
 
|-
 
| output-ref-dp || optional || Name of Data Provider to use for rules output manipulation. This Data Provider will receive as context a GVBuffer and as input the rules ExecutionResults or the Globals objects map (see globals-ref-dp) and must return an enriched GVBuffer object. Ex.a GVBufferChangeDataProvider instance.
 
If not defined the rules ExecutionResults or the Globals objects map (see globals-ref-dp) are inserted in the output
 
GVBuffer object field.
 
 
|}
 
|}
 
Its subelements are:
 
* Description
 
* [[ServiceAlias]]
 

Latest revision as of 13:07, 14 May 2014

Description

GreenVulcano® ESB allows, using the Twitter operations, to invoke the API exposed by the social platform to send a tweet.

VulCon / GV Console Configuration

Following a description of twitter-update-status element.

The following table shows the element's attributes:

Attribute Type Description
type fixed This attribute must assume the value call.
class fixed This attribute must assume the value it.greenvulcano.gvesb.virtual.social.twitter.TwitterUpdateStatusCallOperation.
name required Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
dynamic optional Specify if the account attribute can contain placeholders to be resolved at runtime.
account required Twitter account name.
statusText required New status for Twitter (Tweet to send). Can contains placeholders to be resolved at runtime.

ATTENTION: the final message is automatically truncated at a length of 140 characters.