Skip to main content
Kinetic Community

Twitter Tweet Compose

Overview

This handler composes a tweet and then posts it to the registered users twitter account.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

twitter_tweet_compose_v2.zip

Detailed Description

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 (https://dev.twitter.com/)
        2. Log in with the account you wish to post to Twitter with
        3. Navigate to the 'My Applications' link (https://dev.twitter.com/apps)
        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 'Permissions' 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 'Keys and Access Tokens' 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 'Keys and Access Tokens' page

 

Note: There is a rate limit when using the twitter API. If you make more than a certain number of commands within an hour. For more information on this, check here and here.

Parameters

Name Description
Status The contents of your new Twitter status.

Sample Configuration

Parameter Example Configuration
Status This is a test status

Results

This handler returns no results

Change Log

Version Date Description
2 2014-02-20 Catches errors to handle rate limit. Note: All errors will be caught and returned as Failed--not just a rate limit failure. The actual error is returned in the logs if you have debug turned on. This logging was added Apr 30, 2015.
1 2013-08-09 Initial Version