Twitter API 2.0

al3x 2,721 views 21 slides Sep 25, 2009
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

A view into the Twitter Platform roadmap.


Slide Content

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 @noradio @raffi @rsarver

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?