我正在使用https://github.com/denisdanielyan/as3-Application-Only-Twitter通过Flash应用访问推文。
我收到以下错误:
警告:在等待套接字策略文件时xmlsocket://api.twitter.com:843(3秒)超时。这不会导致任何问题,但请参阅www.adobe.com/go/strict_policy_files以获取解释。
*** Security Sandbox Violation *** Connection to api.twitter.com:443 halted
- not permitted from http://mywebsite.com/myswf.swf Error:
Request for resource at xmlsocket://api.twitter.com:443 by requestor
from http://http://mywebsite.com/myswf.swf is denied due to lack of
policy file permissions.
我认为这与我已指定的交叉域文件有关
Security.loadPolicyFile("http://mywebsite.com/crossdomain.xml");
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*"/>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
任何线索?