I am thinking of distributing a Flash game that can inject Facebook JS into any webpage that will host it (many free Flash game portals). I can window.open
Facebook login dialog when the host page sets allowScriptAccess
.
One of my ideas how to workaround the crossdomain login issue (how to get accessToken back to my Flash game hosted on unknown domain, without fighting cross domain JS and all those browser issues)
redirect_uri
to allowed
domainredirect_uri
with active accessToken (CODE) and tagAs I am not a lawyer and those facebook policy docs are not understandable to me...
Question: Would facebook allow this kind of login on any domain? I feel I would be working around some security this way.
The facebook platform policy does not limit you from doing what you want. As long as you pass the login process through your domain (you don't have any other option) and add a "logout" link, you will be fine.