开发者

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

开发者 https://www.devze.com 2022-12-28 20:24 出处:网络
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 pos

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

精彩评论

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

关注公众号