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

10 Comments:
This post has been removed by a blog administrator.
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.
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/
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
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.
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.
Any chance this API will be available in AS 2.0 ?
I get Error #2032: Stream Error. when ever I compile the example. Any ideas?
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.
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.
Post a Comment
Links to this post:
Create a Link
<< Home