22
edits
Changes
+don't abide by the ratelimit? NO SOUP FOR YOU.
=== Set up the App ===
The first thing you're going to want to do is go into your app settings and set the correct level of access that your app is going to request from users. This is under the '''Settings''' tab:
Details tab → Your Access Token ''*click*''
Now your bot's twitter account has granted authorization to your app to act on its behalf. You'll that the relevant access token credentials have been created:
* '''<tt>access_token</tt>'''
* '''<tt>access_token_secret</tt>'''
=== General Rules of Conduc Conduct and TOS ===
* https://dev.twitter.com/terms/api-terms
=== Rate limits ===
Twitter has a very, very load/performance-centric outlook on the world because of the massive amounts of data and requests they deal with. If you don't play by the rules, twitter has absolutely no hesitation in going [http://i.imgur.com/bf1Xu.jpg NO SOUP FOR YOU].
* REST api is limited to...
== Example : inetkami == * Twitter account: [http://twitter.com/inetkami @inetkami]* Code: https://github.com/rickscott/inetkami What it does: fetches, on request:* [http://en.wikipedia.org/wiki/METAR METAR] (terse weather condition reports intended for aviators)* [http://apps.cbp.gov/bwt/ Border Wait Times]
== Other Miscellany ==
* [http://www.readwriteweb.com/hack/2012/05/a-utility-that-makes-you-master-of-the-twitterverse.php t], a Ruby command-line interface to the Twitter API