Invokes Twitter APIs using the configured details.
The Twitter block has one conditional exit, Twitter Error, which directs the flow of the voice application if the voice application received error on invoking Twitter API.
The Twitter block has the following settings:
•URL (required) - The resource URL of the Twitter API.
•API Key (required) - Consumer Key (API Key) which can be obtained from Twitter App settings.
•Shared Secret (required) - Consumer Secret (API Secret) which can be obtained from Twitter App settings.
•Access Token (required) - This field can be obtained from Twitter App settings.
•Token Secret (required) - It is the Access Token secret that can be obtained from the Twitter App Settings.
•HTTP Method (required) - The GET or POST method of the HTTP request.
•HTTP Headers - List of HTTP header and value pairs that will be sent in the HTTP message.
•URL Parameters - List of URL parameters and corresponding values that will be sent as URL param in GET message. The list is also used to send the param list in the HTTP body when content type “application/x-www-form-urlencoded” is selected for POST method.
•Content Type - The content type of the HTTP body can be selected from one of the following values:
•HTTP Body – Text area to populate the content of the body that will be sent in HTTP message.
•Property to store Tweet/Direct Message Content – Name of the interaction property that will be assigned with the content of “Message Content” field. This can be used to specify the Message content in “HTTP Body” field or “URL Parameters”.
•Message Content – Text area to populate the actual tweet/message text that will be sent in the HTTP request. The number of characters left is displayed just below this field.
When configuration for this bock is complete, click the Update button to apply the settings.
Was this article useful?
Copyright © 2019, Ivanti. All rights reserved.