I'm using the following code to authorize the application and then ask for permission because could not find a simple way to authorize it simply after logging in. But then the user gets directed to their homepage instead of the application homepage. Was wondering where am I going wrong with it.
<fb:if-is-app-user>
<fb:else>
<fb:redirect url="http://www.facebook.com/login.php?api_key=dxxxxxxxxxxxxxxxxxxxxxxx81&req_perms=publish_stream&canvas="http://apps.facebook.com/felinetest""/>
</fb:else>
</fb:if-is-app-user>
p.s I ask for streaming permissions too in the same page.