简体   繁体   English

Facebook的长图像链接在Flex4 mx.image.souce中不起作用

[英]Long Image links of Facebook is not working in Flex4 mx.image.souce

I am creating one desktop application of facebook. 我正在创建一个Facebook桌面应用程序。

So here I am getting streams from facebook post. 所以在这里,我从facebook帖子中获取信息流。 So when any facebook application's long image link I am getting that I can't display in Image container, this is not displaying image. 因此,当我得到任何Facebook应用程序的长图像链接时,都无法显示在“图像”容器中,这不显示图像。

One also fact is that, When I am giving this link directly then it is working..... 还有一个事实是,当我直接给出此链接时,它就起作用了.....

I am full confused what is going on. 我完全感到困惑。 When I have seen this in Charlse Debugging proxy then it is displaying 403,Forbidden error of image. 当我在Charlse调试代理中看到此消息时,它将显示403,图像的禁止错误。

Please help me. 请帮我。

Does the facebook server serving the images have a crossdomain.xml file? 提供图片的Facebook服务器是否具有crossdomain.xml文件? If not, you won't be able to load those image URLs in Flex. 如果没有,您将无法在Flex中加载这些图像URL。

There might not be a crossdomain.xml file for the FB server or from where you are loading that image. FB服务器或从中加载该映像的文件可能没有crossdomain.xml文件。 You can use a proxy server side script in PHP/Python to get around this. 您可以在PHP / Python中使用代理服务器端脚本来解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM