Twitter Tweet Compose Version 2

This handler composes a tweet and then posts it to a Twitter account. This handler uses the access token and access token secret to authorize the users account so that tweets can be posted to their account. To get these tokens, you will need to create an application on Twitter under the account you wish to post to, because the tokens are just valid for that account. Any errors that occur during the posting process will be caught and re-raised by this handler.

How to create Twitter application

To fill in the necessary info values for this handler (consumer key/secret & access token/secret) you will need to create an application on the Twitter developer page.

1. Go to the Twitter Developers page 
                
                2. Log in with the account you wish to post to Twitter with 
                
                3. Navigate to the 'My Applications' link 
                
                4. Click on 'Create a new application' 
                
                5. Fill in the necessary information 
                
                    - Name: Choose a name that will be easily identifiable (must be unique) 
                
                    - Description: Give the application a brief description 
                
                    - Website: A website URL will not be required for work with the handler, Twitter requires you to at least put a placeholder url in the field 
                
                    - Callback URL: This also is not needed for the handler and can be ignored 
                
                6. Agree to the terms and conditions and create the application 
                
                7. Once your app is created, click on the application's 'Settings' tab 
                
                8. Scroll down to the Application Type header and give the application 'Read and Write' access (click the update button on the bottom of the page) 
                
                9. Go back to the 'Details' tab and click on the 'Create my access token' button 
                
                10. After a few seconds, your Consumer key, Consumer Secret, Access Token, and Access Token Secret will all be displayed on this 'Details' page 
                

Parameters

Name Description
Twitter Status The contents of your new Twitter status.

Sample Configuration

Name Description
Twitter Status

Results

Name Description
Tweet Status

Changelog

TwitterTweetCompose_V2 (2014-02-20)

  • Catches errors to handle rate limit.

  • (2015-04-30) Added error logging for tweet failure

TwitterTweetCompose_V1 (2013-08-09)

  • Initial version. See README for details.


Related Handlers

Twitter Tweet Compose Picture
This handler allows you to update your Twitter status which includes a picture as well.