[go: up one dir, main page]

Twitter.com

Twitter API

Want to make a fancy badge, Twittermap, or timeline vizualization? We’ve exposed a few of the Twitter internals via JSON and XML for your creative pleasure.


All of the methods (except for the public timeline) require user authentication via Basic Auth. The username is the email address you have stored on Twitter, the password, your password.


Public Timeline

  • http://twitter.com/statuses/public_timeline.json
  • http://twitter.com/statuses/public_timeline.xml

Timeline of you and your friends

  • http://twitter.com/statuses/friends_timeline.json
  • http://twitter.com/statuses/friends_timeline.xml

A list of your friends and their current update

  • http://twitter.com/statuses/friends.json
  • http://twitter.com/statuses/friends.xml

A list of your followers and their current update

  • http://twitter.com/statuses/followers.json
  • http://twitter.com/statuses/followers.xml

Updating your Twitter

Done with a HTTP POST using the "status" parameter. status=Walking the dog.

  • http://twitter.com/statuses/update.json
  • http://twitter.com/statuses/update.xml

That’s all for now. More to come! Please let us know if you have any ideas, problems, or suggestions.


ActionScript Developers!

Want to make a Twitter Flash app like Celly? Here are Actionscript libraries for both Actionscript 2 and Actionscript 3. These libraries contain source code, docs, and an example use of the Twitter API. The AS3 library dependencies are the Adobe core library and a Base64 encoder, otherwise this is everything Flash developers need to make a Twitter app.