Lets say my Facebook app url is http://fb.domain.com/
and the app url is http://apps.facebook.com/demoapp/
Now I want a user cannot open the application url directly and must in iframe on Facebook.
How do I detect & redirect link to http://apps.facebook.com/demoapp/
if user open the link directly?
Let me know the key.