Twitter Site Configuration
Overview
The Twitter App uses an XML file to store site specific configurations. The Twitter App needs to know your Twitter @Anywhere account's Consumer Key and Consumer Secret, as well as your Bit.ly account's Login and Key.
Configuration Fields
If you haven't created a Twitter @Anywhere app, go to Twitter's @Anywhere site for more details. Read that page and hit this link to register your Twitter application. Also sign up for Bit.ly to be able to take advantage of their free URL shortening service.
Don't worry you will not have to write a single line of code to use these two API's, we just need to add those values to the configuration XML file in any text editor (like Notepad).
There are four components in the configuration XML file:
- consumerKey - You can find this in your Twitter @Anywhere app's properties.
- consumerSecret - Also in your Twitter @Anywhere app's properties.
- bitlyLogin - The username you just registered on Bit.ly's site.
- bitlyKey - Bit.ly's API key.
Final Step
Once your configuration XML file (twitter.xml) has been updated with the correct values from your Twitter App's and Bit.ly's registrations, move the XML file to the /cs_apps/config/ folder.