[Twitter] Send Message
Q100097: [Twitter] Send Message
Sends a Tweet using a Twitter account.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
Twitter Connection | In | Assign a defined Twitter Connection or directly enter the parameters and values which make up a valid connection for Twitter . |
Connection type: Twitter |
Message | In | Message to tweet. | |
PhotoAttachment | In | Pathname of photo attachment to upload. | |
Result | Out | The result returned by the server. |
(Italics = required parameters)
Notes
The [Twitter] Send Message
module is built to allow your job to send a message via a specified account on Twitter
. To use the module, you will need to setup an account with Twitter if you do not already have one. The first thing you need in using the module is setting up a Twitter Connection. Once you have defined a connection, then you will be able to send messages out from your Twitter accounnt.
Using the Message
parameter, you can send any text as a message to your account followers. You can also optionally specify a single file attachment that will be included with the message, when using the appropriately named PhotoAttachment
parameter.
Errors
Newer Module
If you execute the module and it reports an error message:
You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product
This indicates that you may be using a set of Twitter keys/tokens for an account that has been upgraded from the v1.1 API to the v2 API. In this case, you will need to upgrade the version of the module library containing the [Twitter] Send Message
module that you are using. Upgrading to the most recent version of JobServer should install the correct module version for you.
Outdated Module
If you execute the module and it reports an error message:
Error: Error publishing to Twitter: Error sending post to Twitter.
This indicates that you may be using an older version of the [Twitter] Send Message
module which is no longer supported. Upgrading to the most recent version of JobServer should install the correct module version for you.