Twitter4JとScalaと何か
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,910
On Slideshare
3,298
From Embeds
612
Number of Embeds
7

Actions

Shares
Downloads
4
Comments
0
Likes
3

Embeds 612

http://scalakaigi.g.hatena.ne.jp 588
http://paper.li 9
http://twitter.com 4
https://twitter.com 3
http://a0.twimg.com 3
http://cloud.feedly.com 3
http://translate.googleusercontent.com 2

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Twitter4J Scala #scala_kaigi 2011/8/28 Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 2. @yusukey Scala 4 Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 3. Twitter4J • Twitter API • Pure Java • Twitter API • 100 Twitter API Copyright(c) Yusuke Yamamoto All rights reserved. 3Sunday, August 28, 11
  • 4. Twitter4J • Twitter API: 100 • Twitter4J: 4 5 http://api.twitter.com/1/statuses/user_timeline.json ResponseList<Status> getUserTimeline(String screenName, Paging paging) ResponseList<Status> getUserTimeline(long userId, Paging paging) ResponseList<Status> getUserTimeline(String screenName) ResponseList<Status> getUserTimeline(long userId) ResponseList<Status> getUserTimeline() ResponseList<Status> getUserTimeline(Paging paging) Copyright(c) Yusuke Yamamoto All rights reserved. 4Sunday, August 28, 11
  • 5. Twitter4J 100 x 5 = 500 Copyright(c) Yusuke Yamamoto All rights reserved. 5Sunday, August 28, 11
  • 6. Copyright(c) Yusuke Yamamoto All rights reserved. 6Sunday, August 28, 11
  • 7. Copyright(c) Yusuke Yamamoto All rights reserved. 7Sunday, August 28, 11
  • 8. Twitter4S • Pure Scala Twitter4J Copyright(c) Yusuke Yamamoto All rights reserved. 8Sunday, August 28, 11
  • 9. Scala • • Copyright(c) Yusuke Yamamoto All rights reserved. 9Sunday, August 28, 11
  • 10. https://github.com/yusuke/twitter4s Copyright(c) Yusuke Yamamoto All rights reserved. 10Sunday, August 28, 11
  • 11. fork https://github.com/yusuke/twitter4s Copyright(c) Yusuke Yamamoto All rights reserved. 11Sunday, August 28, 11
  • 12. Copyright(c) Yusuke Yamamoto All rights reserved. 12Sunday, August 28, 11
  • 13. Copyright(c) Yusuke Yamamoto All rights reserved. 13Sunday, August 28, 11
  • 14. Copyright(c) Yusuke Yamamoto All rights reserved. 14Sunday, August 28, 11
  • 15. 2009 4 http://www.artima.com/scalazine/articles/twitter_on_scala.html Steve Jenson, Alex Payne Robey Pointer Scala ! Copyright(c) Yusuke Yamamoto All rights reserved. 15Sunday, August 28, 11
  • 16. Copyright(c) Yusuke Yamamoto All rights reserved. 16Sunday, August 28, 11
  • 17. Objective-C C++ Python 2 111 3 Jav Ot he r aS c rip t 7 Java Scala 24 Ruby 9 Copyright(c) Yusuke Yamamoto All rights reserved. 17Sunday, August 28, 11
  • 18. Web flockdb flockdb Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 19. Web flockdb | gizzard gizzard Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 20. Web flockdb | gizzard Rowz Rowz gizzard Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 21. Web flockdb | gizzard | haplocherius Rowz haplocherius Redis Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 22. Web flockdb | gizzard | haplocherius | Finagle Rowz Finagle RPC Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 23. Web flockdb | gizzard | haplocherius | Finagle Rowz schmemcached schmemcached Memcached / Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 24. Web flockdb | gizzard | haplocherius | Finagle | snowflake Rowz schmemcached snowflake Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 25. Web joauth joauth OAuth OAuth1.0a / 2.0 Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 26. Web joauth | killdeer killdeer netty Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 27. Web joauth | killdeer | naggati2 nagatti2 netty Scala Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 28. Web scala-zookeeper scala-zookeeper ZooKeeper Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 29. Web scala-zookeeper | ostrich ostrich Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 30. Web standard-project standard-project scala Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 31. Web standard-project | scala-build scala-build scala Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 32. Web standard-project | scala-build | xrayspecs xrayspecs scala specs Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 33. Web standard-project | scala-build | xrayspecs | configgy configgy / Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 34. Web standard-project | scala-build | xrayspecs | configgy sbt-scrooge sbt-scrooge scoorage sbt Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 35. Web standard-project | scala-build | xrayspecs | configgy sbt-scrooge | scoorage-runtime scrooge-runtime scoorage Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 36. Web querulous querulous JDBC Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 37. Web querulous | rpc-client rpc-client thrift Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 38. Web querulous | rpc-client | chainsaw chainsaw SLF4J Scala Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 39. Web querulous | rpc-client | chainsaw | scala-json scala-json JSON Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 40. Web querulous | rpc-client | chainsaw | scala-json | streamyj streamyj Jackson Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 41. Web querulous | rpc-client | chainsaw | scala-json | streamyj util util Jakarta-commons Twitter-commons Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 42. flockdb | gizzard | haplocherius | Finagle snowflake | Rowz | schmemcached Web joauth | killdeer | naggati2 scala-zookeeper | ostrich standard-project | scala-build | xrayspecs configgy | sbt-scrooge | scoorage-runtime querulous | rpc-client | chainsaw scala-json | streamyj | util Copyright(c) Yusuke Yamamoto All rights reserved.Sunday, August 28, 11
  • 43. Twitter API • http://amzn.to/twtr-ref Copyright(c) Yusuke Yamamoto All rights reserved. 43Sunday, August 28, 11