Tweet your notifications automatically to Twitter to reach social users who are following your account.
Twitter handles are organized into groups. The groups consist of a group code, group name, and description.
Twitter handles are subscribed using a handle, API key, and other credentials. The handle and API details and one or more groups must be selected when subscribing Twitter handle.
Configuration
Below are the steps you'll need to follow to post to your Twitter account with AppArmor.
Step 1 - Apply for a Twitter Developer Account
- Go to https://apps.twitter.com and click "Apply for a developer account", then follow the steps outlined. Make sure that you are logged in with the organizational Twitter account.
- Go through the steps to apply. Here are the recommended answers for going through the process:
This application is part of a unified mass notification platform, which allows our security department to send safety notifications over multiple channels with a single action. Other channels include posting to our website, and sending a push notification to our mobile safety smartphone app. We'd like to use this app to include a Tweet to our Twitter account at the same time, to inform users via Twitter of campus safety information. Our application will utilize Twitter APIs in order to allow users to send a Tweet from the web-based Dashboard. This is a single-purpose application - it will only be used for the institutional Twitter handle to Tweet in the way described above.
This application will not analyze Tweets, Twitter users, or their content. The app does not ingest Twitter content in any way. It is only used for Tweeting.
This app allows users to Tweet from our web-based Dashboard. This allows us to integrate Twitter with our unified notification platform, so that Tweets can be sent at the same time as messages via other media. It is only for use with our institutional Twitter Handle, and will not be used for public users. This app does not Retweet or like content.
This app does not display Twitter content off of Twitter.
Step 1 - Create a Twitter App
- Log into https://apps.twitter.com/ with the account that you'd like to post to.
- Select "Create New App"
- Enter an App Name, Description, and Website. These will not be user facing. Leave the "Callback URLs" field blank.
- Read the Developer Agreement, and check the box confirming that you agree.
- Click "Create your Twitter application"
Step 2 - Gather Credentials
After you've created your Twitter App, you'll be taken to the "Details" page for the new app. You can also access this page by going to https://apps.twitter.com/ and selecting your app. You'll need a number of credentials to configure your Twitter account.
- Go to the "Keys and Access Tokens" tab. Note the following:
- Consumer Key
- Consumer Secret
- Scroll to the bottom of the page and click the "Create my access token" button. Note the following:
- Access Token
- Access Token Secret
Step 3 - Configure in AppArmor Dashboard
Now you've got everything you need to set up your Twitter handle in the AppArmor Dashboard.
- Log into the Dashboard, and go to Communications → Alerting Mechanisms → Twitter (Settings)
- In the "Groups" tab, create a group to associate your Twitter handle with.
- In the "Subscribers" tab, click "Subscribe Twitter Handle"
- Fill in the fields with the information garnered in Step 2 above.
- Check off the appropriate group and click "Subscribe"
Congratulations! You've successfully subscribed your Twitter handle. Make sure to do a test notification to ensure optimal configuration.