20100224 Twitter Api

2,379 views
2,260 views

Published on

A quick presentation made at Café Numérique, Mirano, Brussels on February 24th 2010 about the Twitter API; explaining the usage of the API and demoing real-life applications.

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,379
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

20100224 Twitter Api

  1. 1. Using the Twitter API February 24 th 2010 Arnaud Coomans (@acoomans)
  2. 2. Twitter API or APIs? <ul><li>“Classic” API </li><ul><li>Standard actions
  3. 3. Same set of features as web interface </li></ul><li>Search API </li><ul><li>Search Tweets
  4. 4. Previously Summize
  5. 5. Small differences with “classic”! </li></ul><li>Streaming </li><ul><li>Partner feed (phasing out)
  6. 6. Firehose </li></ul></ul>
  7. 7. “ Classic” and Search Twitter API <ul><li>Interact with twitter </li><ul><li>Update status
  8. 8. Send DM
  9. 9. Show timeline, mentions
  10. 10. Friend/Show/Block user
  11. 11. Search statuses
  12. 12. ... </li></ul><li>Roughly same set of features as web interface </li></ul>
  13. 13. Twitter API: Streaming <ul><li>Alpha </li><ul><li>Changes (very) often! </li></ul><li>QoS </li><ul><li>Best-effort
  14. 14. Unordered
  15. 15. Generally at-least-once </li></ul><li>Firehose, Retweets, Links </li><ul><li>Not broadly available </li></ul><li>Sample </li><ul><li>“small firehose” </li></ul><li>Filter </li></ul>
  16. 16. Twitter API: Rate limiting <ul><li>Account- and IP-based
  17. 17. Default: max =150 reqs/hour
  18. 18. Call to check remaining reqs
  19. 19. Whitelisting
  20. 20. Caching!! </li></ul>
  21. 21. Twitter API: Authentication <ul><li>Basic Auth </li><ul><li>Insecure
  22. 22. Easy to setup
  23. 23. Only method for Streaming </li></ul><li>Oauth </li><ul><li>Redirect to Twitter
  24. 24. Token, not the password!
  25. 25. Revocation </li></ul></ul>
  26. 26. Twitter API: Real-life applications Enough talking, show us something! http://www.tweetag.com (dead) http://www.europatweets.eu http://libetwitt.liberation.fr
  27. 27. Twitter API Arnaud Coomans [email_address] @acoomans http://www.europatweets.eu http://libetwitt.liberation.fr API doc: http://apiwiki.twitter.com/

×