开发者

Flash/Actionscript - How can I post a tweet from a swf (without using a server-side proxy such as Tweetr)?

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜