<< Back to the main Twitter Blog page

Monday, October 23, 2006

Twitter API for Flash Developers

Today we added more to the Twitter API so Flash developers can build fun applications like Celly. What can the Twitter Actionscript 3 API do? I'm glad you asked!
  • authenticate a user
  • set authenticated user's status
  • set authenticated user's mobile notifications on/off
  • return a list of friends and their statuses
  • return a public user or a friend of an authenticated user's timeline
  • return authenticated user's friends' timeline
  • return public timeline
The only dependency is the Adobe core library but otherwise we're providing the source code, documents, and an example as one download. You can download it from our API page.

10 Comments:

Blogger Alexandre said...

This post has been removed by a blog administrator.

10/25/06 12:28 PM  
Blogger Alexandre said...

ok, I googled it. Twice. Then again. But every five seconds somenone in twitter says he is "testing twitter thought IM" and I have no idea how they did it. No tips on the blog, no tips on the FAQ. Someone told me to add a twitter buddy on gtalk. Nope.

I give-up: how do I do it?

btw: great thing to open up API's with the whole flash pack. I wished to make mashups for so many products, but no one ever thinks about the simple designers and tweakers out there. Anyone who wants to mashup flickr MUST know how to set up from scratch a DOM-Java-Handler-with-MySql-Flash-thing.

I love the "take this, it's ready, it works well,n tweak it at will" approach.

10/25/06 12:29 PM  
Anonymous Anonymous said...

Well, here is how to do it through iChat:

http://www.tikirobot.net/wp/2006/09/24/updating-twitter-via-ichat-or-aim-status-message/

10/26/06 12:09 PM  
Anonymous Mike Chambers said...

Does this actually work? It looks like it is based off of beta builds of ActionScript 3, and does not work for me in the release versions.

For example, there is a lot of use of StringBuilder, but that was removed from AS3 during the beta.

Was an old version accidentally uploaded?

mike chambers

mesh@adobe.com

11/3/06 3:35 PM  
Anonymous Steve Webster said...

It looks as though you've switched at the last minute from the Base64 class included in the source bundle to my Base64 class which they've not included in the package. It was the old Base64 class that made use of StringBuilder.

If you download the Base64 class and import that into your project the API compiled fine.

11/4/06 6:47 AM  
Anonymous Greg said...

It's compiling with Steve's Base64 class and JSON class from the corelib library. Great work guys, it's going to be fun to play around with in flash.

11/17/06 6:44 PM  
Anonymous Paul Mayne said...

Any chance this API will be available in AS 2.0 ?

12/20/06 2:11 PM  
Blogger Paul said...

I get Error #2032: Stream Error. when ever I compile the example. Any ideas?

1/4/07 4:22 PM  
Blogger Ray said...

Are you using the Flash 9 Alpha? I sometimes get that error as well. Although it's a pain, I end up testing it with the browser instead of the Flash IDE. You might also try using another computer, which worked for me.

1/5/07 10:54 AM  
Blogger Edouard said...

I had the same probleme.

You have to replace “authorization” by “HTTP_AUTHORIZATION” in the file com.twitter.Twitter.as

Now that works for me.

4/11/08 5:34 AM  

Post a Comment

Links to this post:

Create a Link

<< Home