Difference between revisions of "Twitter Site Configuration"
(Created page with '== 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 Se…') |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Configuration Fields == | == Configuration Fields == | ||
− | If you haven't created a Twitter @Anywhere app, go to | + | If you haven't created a Twitter @Anywhere app, go to [http://dev.twitter.com/anywhere Twitter's @Anywhere site] for more details. Read that page and hit [http://dev.twitter.com/apps/new this link] to register your Twitter application. |
− | Also [http://bit.ly/a/sign_up sign up for Bit.ly] to be able to take advantage of their free URL shortening service. | + | Also [http://bit.ly/a/sign_up sign up for Bit.ly] to be able to take advantage of their free URL shortening service. [http://bit.ly/a/your_api_key/ get your Bit.ly api key] |
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). | 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). | ||
Line 15: | Line 15: | ||
== Final Step == | == Final Step == | ||
− | Once your configuration XML file ( | + | 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'''. |
[[Category:Twitter]] | [[Category:Twitter]] |
Latest revision as of 20:37, 9 September 2010
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. get your Bit.ly api key
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.