简体   繁体   中英

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

I am creating one desktop application of facebook.

So here I am getting streams from facebook post. 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.

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.

Please help me.

Does the facebook server serving the images have a crossdomain.xml file? If not, you won't be able to load those image URLs in Flex.

There might not be a crossdomain.xml file for the FB server or from where you are loading that image. You can use a proxy server side script in PHP/Python to get around this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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