开发者

Is it possible to access digg's API from Flash without using a proxy to get around the cross-domain issues?

开发者 https://www.devze.com 2023-02-22 14:46 出处:网络
Is it possible to access digg\'s API from Flash without using a proxy to get around the cross-domain issues?

Is it possible to access digg's API from Flash without using a proxy to get around the cross-domain issues?

I'm a little confused because from googling it appears that the API ha开发者_JAVA技巧s (atleast in the past) had a crossdomain.xml file but now trying to access services.digg.com/crossdomain.xml (from a browser, or looking at the response codes from the embedded flash calls to the API in Firebug/Chrome dev tools) results in a 403 error code, with the API error 1052(no method).

I am new to this, and working with someone else to get this implemented, so if there is something very simple to check config-wise, or else the answer is just-use-a-proxy, that's fine.

Thanks!


No, unless the site you're trying to contact has a crossdomain.xml file on their server giving you access, then you won't be able to do this.

I have this exact problem with the StumbleUpon API, where they actually have a crossdomain.xml file, but they don't allow external access: http://getsatisfaction.com/stumbleupon/topics/update_of_the_cross_domain_policy_files_for_swf_files

You'll need to use a proxy if you can't get them to change this.


You have to use a proxy I guess, I'm not aware of alternatives solutions (except asking on their forum why it's not online anymore)

0

精彩评论

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