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("http://graph.facebook.com/crossdomain.xml");
Security.loadPolicyFile("https://graph.facebook.com/crossdomain.xml");
Security.loadPolicyFile("http://profile.ak.fbcdn.net/crossdomain.xml");
Security.loadPolicyFile("https://profile.ak.fbcdn.net/crossdomain.xml");
Security.loadPolicyFile('http://profile.cc.fbcdn.net/crossdomain.xml');
Security.loadPolicyFile('https://profile.cc.fbcdn.net/crossdomain.xml');
Security.loadPolicyFile('http://fbcdn-profile-a.akamaihd.net/crossdomain.xml');
Security.loadPolicyFile('https://fbcdn-profile-a.akamaihd.net/crossdomain.xml');
Security.loadPolicyFile('http://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('http://profile.ak.fbcdn.net');
Security.allowInsecureDomain('http://profile.ak.fbcdn.net');
Security.allowDomain('https://s-static.ak.facebook.com');

Yahoo Pipe Crossdomain

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


	
Subscribe
Notify of
guest
1 Comment
newest
oldest most voted
Inline Feedbacks
View all comments
Mitesh Sharma
7 years ago

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 halted – not… Read more »