Unity+Facebook cross domain issue

Hi everyone! i’m developing a game for facebook and i’m doing some test to store user’s information on my server. On the editor everything is ok, i mean i can log in on facebook, acces my database and get/post information. But when i upload to facebook (canvas) i get this error: “SecurityException: No valid crossdomain policy…”. if anyone know how to fix this issue would be awesome :3 btw, my crossdomain.xml looks like this(i had to erase the “<” here xD):

?xml version="1.0"?>
cross-domain-policy>
allow-access-from domain="*"/>
/cross-domian-policy>

and i’m actually using github to upload my game.
Thanks!

Ok, i realized of the issue. Since Facebook use https i needed to add a secure=“false” to allow it to access the server