Sends a Twitter™ direct message from FME.
Upon successful completion of a direct message, the feature will be output through the Message output port, and will have several new attributes:
_twitter_response: Contains the JSON response text from the server. The value of this attribute can be explored using the JSONFragmenter or JSONExtractor transformers.
_twitter_message_id: Contains the integer ID of the direct message.
If a status update could not be sent, the feature will be output through the Error output port, and will have the following new attributes:
_twitter_response: If a response was received from the Twitter server, it will be stored in this attribute.
_twitter_error: If the Twitter response contained an error message, it will be stored in this attribute.
The message text, or the name of an attribute containing the message text, can be entered in the Message Text parameter.
The message recipient, or the name of an attribute containing the recipient can be entered in the Message Recipient parameter.
Note: For access outside of your network using a proxy server, use the Network tools in FME Options. From the Workbench menu, select Tools > FME Options > Network. For more information, see "Network" in the FME Workbench Help.
Enter a Twitter account username and password.
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Professional edition and above
Search for samples and information about this transformer on the FME Community.
Keywords: TwitterDirectMessageSender