C4LN 2012: Intro to the Twitter API

From Code4Lib
Revision as of 11:58, 24 May 2012 by Shadowspar (Talk | contribs)

Jump to: navigation, search

Presenter: Rick Scott - @shadowspar

API Overview


Parts

The twitter API breaks down into three main areas

  • the REST API
    • query→response based access
    • this is what you're most likely to use
  • the Streaming API
    • aka drinking from the firehose =)
    • push-based communication w/ v.high ratelimit
  • the Search API
    • just like it says on the tin
    • also trending topics


Find your library

https://dev.twitter.com/docs/twitter-libraries


Creating a new app


Rate limits

Rules of Conduct

Repeated tweets

General TOS

Example

http://twitter.com/inetkami https://github.com/rickscott/inetkami

Other Miscellany

  • t, a Ruby command-line interface to the Twitter API