Is there some new method for problem like this Facebook - how to go directly to the request permission dialog with an iframe app? because answer from question in this link, isnt working.
<script type='text/javascript'>top.location.href = '$loginUrl';</script>
use this :)