Possible Duplicate:
Facebook Login and Iframe redirection
When a user is not logged onto facebook but visits the canvas URL directly, the app shows up in the logged off state because no access token (or signed request) is being sent to it.
BUT since the application is framed and I'm NOT using the Javascript SDK (using Perl OAuth Module), how do I tell Facebook to jump to the login page instead of loading the logged-off canvas app page?
I ran into this same issue while attempting to redirect users to PayPal to make a payment.
The problem you're trying to explain is this:
https://developers.facebook.com/apps/<app_id>/summary
)The only way to accomplish authentication is to:
top.location = "<url>"
)