views:

107

answers:

1

How can I post a tweet directly to twitter without needing to use a server-side proxy script (ie, tweetr)? Can a twitter API call be made directly from a swf?

A: 

I don't think if it's possible to do this without a proxy (I've been trying for awhile now). Twitter's crossdomain.xml file used to allow any Flash application to make API calls, but due to security issues, they decided to change their cross domain file and make it much more restrictive (which actually crippled a lot of flash applications). I believe it's possible to use the Twitter API from a desktop Flash (AIR) application, but if you're trying to do so from the web, you're going to need a proxy. I unfortunately cannot get the Tweetr proxy to work myself, so I am searching for an alternative way. If I find one, I'll be sure to post it here.

Arms