Facebook Crossdomain Policy Files

Facebook Crossdomain XML Policy if you developing Flash AS3 content for Facebook like showing Ablums you have to add following poilcy at the start of your Flash AS3

Security.loadPolicyFile("https://graph.facebook.com/crossdomain.xml");
Security.loadPolicyFile("https://graph.facebook.com/crossdomain.xml");
Security.loadPolicyFile("https://profile.ak.fbcdn.net/crossdomain.xml");
Security.loadPolicyFile("https://profile.ak.fbcdn.net/crossdomain.xml");
Security.loadPolicyFile('https://profile.cc.fbcdn.net/crossdomain.xml');
Security.loadPolicyFile('https://profile.cc.fbcdn.net/crossdomain.xml');
Security.loadPolicyFile('https://fbcdn-profile-a.akamaihd.net/crossdomain.xml');
Security.loadPolicyFile('https://fbcdn-profile-a.akamaihd.net/crossdomain.xml');
Security.loadPolicyFile('https://fbcdn-sphotos-a.akamaihd.net/crossdomain.xml');
Security.loadPolicyFile('https://fbcdn-sphotos-a.akamaihd.net/crossdomain.xml');
Security.allowDomain("*");
Security.allowInsecureDomain("*");


For share buttons Like and Simple APi calls a bit less works too. What i use at the moment for the MEtaplayer without photo content request.

// Facebook // https://s-static.ak.facebook.com/

Security.loadPolicyFile('https://api.facebook.com/crossdomain.xml');
Security.allowDomain('https://profile.ak.fbcdn.net');
Security.allowInsecureDomain('https://profile.ak.fbcdn.net');
Security.allowDomain('https://s-static.ak.facebook.com');

Yahoo Pipe Crossdomain

https://pipes.yahooapis.com/crossdomain.xml


	
  1. I am still having the same problem..

    Warning: Ignoring ‘secure’ attribute in policy file from https://fbcdn-profile-a.akamaihd.net/crossdomain.xml. The ‘secure’ attribute is only permitted in HTTPS and socket policy files. See https://www.adobe.com/go/strict_policy_files for details.

    Warning: Ignoring ‘secure’ attribute in policy file from https://profile.ak.fbcdn.net/crossdomain.xml. The ‘secure’ attribute is only permitted in HTTPS and socket policy files. See https://www.adobe.com/go/strict_policy_files for details.

    Warning: Ignoring ‘secure’ attribute in policy file from https://graph.facebook.com/crossdomain.xml. The ‘secure’ attribute is only permitted in HTTPS and socket policy files. See https://www.adobe.com/go/strict_policy_files for details.

    Warning: Failed to load policy file from https://a6.sphotos.ak.fbcdn.net/crossdomain.xml.

    *** Security Sandbox Violation ***.
    Connection to https://a6.sphotos.ak.fbcdn.net/hphotos-ak-ash4/487912_3458839745550_854223004_n.jpg halted – not permitted from https://localhost/projects/facebookcover/debug/FacebookCover.swf.
    Error: Request for resource at https://a6.sphotos.ak.fbcdn.net/hphotos-ak-ash4/487912_3458839745550_854223004_n.jpg by requestor from https://localhost/projects/facebookcover/debug/FacebookCover.swf/%5B%5BDYNAMIC%5D%5D/5 is denied due to lack of policy file permissions.

    Warning: Failed to load policy file from https://a8.sphotos.ak.fbcdn.net/crossdomain.xml.

    *** Security Sandbox Violation ***.
    Connection to https://a8.sphotos.ak.fbcdn.net/hphotos-ak-ash4/299742_2170650301619_1862796113_n.jpg halted – not permitted from https://localhost/projects/facebookcover/debug/FacebookCover.swf.
    Error: Request for resource at https://a8.sphotos.ak.fbcdn.net/hphotos-ak-ash4/299742_2170650301619_1862796113_n.jpg by requestor from https://localhost/projects/facebookcover/debug/FacebookCover.swf/%5B%5BDYNAMIC%5D%5D/5 is denied due to lack of policy file permissions.

Post your thoughts