We have an application for holding PHP facebook ( http://apps.facebook.com/myapp). One of the pages ( http://apps.facebook.com/myapp/foobar) requires authentication from facebook, so we can access some information about the user. This is achieved using the PHP-SDK method $facebook->getLoginUrl()for generating authentication URLs and works as expected.
Since then, we have added the app as a tab (iFrame) to our page ( http://www.facebook.com/MyPage?sk=app_nnnnn). Now, when we try to authenticate the user, they are redirected to the application URL ( http://apps.facebook.com/myapp/foobar), and not to the page loading /foobarin the iFrame tab, as expected.
Is it possible to set auth so that it does not bounce off the application URL, but remains inside the Tab using the PHP-SDK? If so, what workflow should I follow to achieve this?
source
share