Twitter API 2.0
A VIEW INTO THE PLATFORM ROADMAP




Alex Payne
Twitter Platform Lead
Agenda

‣ Where we’re at.
‣ Where we’re going.
‣ Where you think we should be.
The Platform: Numbers

28,000 registered applications.
30,000 developers keeping up with changes.
Hundreds of millions of requests per day.
$23+ million invested in Twitter-powered startups.
The Platform: Team
      @al3x               @rsarver




               @noradio
       @raffi
The Platform: APIs

The Twitter Platform is a suite of APIs:
 1. REST
 2. Search
 3. Streaming
REST API
Do everything a user can do, and more:
   ‣   Post tweets.
   ‣   Get timelines of tweets.
   ‣   View and manipulate the social graph.
   ‣   Send and retrieve direct messages.
   ‣   Modify account settings.
Search API
Discover trends, view historical trends.
Search for tweets:
   ‣   by term (ex: “CRV”)
   ‣   by user (ex “from:jack”)
   ‣   by location (ex: “near:SF within:15mi”)
   ‣   much more...
Streaming API
Push tons of data to partners in near-realtime.
Currently streaming:
   ‣   samples of the set of all public tweets
   ‣   search results
   ‣   just tweets by specified users
   ‣   more coming soon...
The New Stuff!
Geolocation


‣   Per-status geolocation: new lat and long
    parameters.
‣   More accurate “near:” search results.
‣   Room to grow into more complex geodata via
    GeoRSS and GeoJSON standards.
Apple Push


‣   Developers have implemented Apple Push on
    their own, and that’s cool!
‣   But we want to handle it for you.
‣   Working prototype, ready for production soon.
api.twitter.com


‣   A simple change that helps us better serve you.
‣   Isolates API traffic so we can direct it within our
    cluster.
‣   Live for testing right now.
Versioning

‣   Another way we can keep your apps working
    better.
‣   http://api.twitter.com/2/example/method.xml

‣   Additions say within a version, modifications and
    removals bump to a new version.
‣   Each version supported for at least six months.
Search API Cleanup


‣   Right now, Search API results deviate from the
    main (REST) API.
‣   We’re going to fix it, and move the Search API
    methods into the new api.twitter.com domain.
More Streams

‣   The Streaming API has been a big success.
‣   We need to know what else you want streamed...
‣   Changes to the social graph?
‣   Favorites?
‣   Retweets?
More OAuth


‣   Helping push the standard forward.
‣   Mechanism for a one-time exchange of
    username:password credentials for a token
    (“guns for cash”).
‣   More “Sign in with Twitter”.
Address Book API


‣   A way to find Twitter users given email addresses.
‣   Secure and spammer-hostile.
‣   Familiar if you’ve used similar APIs from webmail
    providers.
Support

‣   Building out a team just for developer support.
‣   Faster responses to your questions.
‣   More documentation, more example code.
‣   A better developer community site and
    experience.
More...


‣   More Platform Engineers on staff at Twitter to
    build the tools you need.
‣   More ways for users to discover your apps.
‣   API monitoring available publicly.
Thanks! Questions?

Twitter API 2.0

  • 1.
    Twitter API 2.0 AVIEW INTO THE PLATFORM ROADMAP Alex Payne Twitter Platform Lead
  • 2.
    Agenda ‣ Where we’reat. ‣ Where we’re going. ‣ Where you think we should be.
  • 3.
    The Platform: Numbers 28,000registered applications. 30,000 developers keeping up with changes. Hundreds of millions of requests per day. $23+ million invested in Twitter-powered startups.
  • 4.
    The Platform: Team @al3x @rsarver @noradio @raffi
  • 5.
    The Platform: APIs TheTwitter Platform is a suite of APIs: 1. REST 2. Search 3. Streaming
  • 6.
    REST API Do everythinga user can do, and more: ‣ Post tweets. ‣ Get timelines of tweets. ‣ View and manipulate the social graph. ‣ Send and retrieve direct messages. ‣ Modify account settings.
  • 7.
    Search API Discover trends,view historical trends. Search for tweets: ‣ by term (ex: “CRV”) ‣ by user (ex “from:jack”) ‣ by location (ex: “near:SF within:15mi”) ‣ much more...
  • 8.
    Streaming API Push tonsof data to partners in near-realtime. Currently streaming: ‣ samples of the set of all public tweets ‣ search results ‣ just tweets by specified users ‣ more coming soon...
  • 10.
  • 11.
    Geolocation ‣ Per-status geolocation: new lat and long parameters. ‣ More accurate “near:” search results. ‣ Room to grow into more complex geodata via GeoRSS and GeoJSON standards.
  • 12.
    Apple Push ‣ Developers have implemented Apple Push on their own, and that’s cool! ‣ But we want to handle it for you. ‣ Working prototype, ready for production soon.
  • 13.
    api.twitter.com ‣ A simple change that helps us better serve you. ‣ Isolates API traffic so we can direct it within our cluster. ‣ Live for testing right now.
  • 14.
    Versioning ‣ Another way we can keep your apps working better. ‣ http://api.twitter.com/2/example/method.xml ‣ Additions say within a version, modifications and removals bump to a new version. ‣ Each version supported for at least six months.
  • 15.
    Search API Cleanup ‣ Right now, Search API results deviate from the main (REST) API. ‣ We’re going to fix it, and move the Search API methods into the new api.twitter.com domain.
  • 16.
    More Streams ‣ The Streaming API has been a big success. ‣ We need to know what else you want streamed... ‣ Changes to the social graph? ‣ Favorites? ‣ Retweets?
  • 17.
    More OAuth ‣ Helping push the standard forward. ‣ Mechanism for a one-time exchange of username:password credentials for a token (“guns for cash”). ‣ More “Sign in with Twitter”.
  • 18.
    Address Book API ‣ A way to find Twitter users given email addresses. ‣ Secure and spammer-hostile. ‣ Familiar if you’ve used similar APIs from webmail providers.
  • 19.
    Support ‣ Building out a team just for developer support. ‣ Faster responses to your questions. ‣ More documentation, more example code. ‣ A better developer community site and experience.
  • 20.
    More... ‣ More Platform Engineers on staff at Twitter to build the tools you need. ‣ More ways for users to discover your apps. ‣ API monitoring available publicly.
  • 21.