I am trying to use a Facebook connection in an IFrame. It seems that after the user completes the authentication and grants permissions for my application, the Facebook cookies will not be saved in the browser.
This is the scenario:
1) The user clicks the connect button inside my iframe.
2) The user is authenticated using FB Connect.
3) The user provides permissions for my application.
4) The iframe page is being updated, but the server-side API still does not return the user. Facebook cookies are not in the browser (I think the problem)
5) The server displays the registration completion page again, and FB Connect JavaScript identifies the user as being executed from the system.
6) In some browsers, updating the IFrame content fixes this problem.
If I load the iframe url into its own window, outside the iframe, everything works.
I have been trying to solve this for two days now. Please, help!
thanks
source
share