views:

274

answers:

0

Hi there,

I am developing a Facebook connect application, and I want the application to be able to operate either as a standalone or within a Facebook canvas (IFrame).

I have an index.html file which contain the main page and a Facebook connect button. If the user is already connected, the button will not be shown. It's working fine when I access the application directly (not via Facebook).

But when I access it via FB, I expect to see the generic "Allow access" confirmation page like the way I access the others Facebook app. But it is not there, and index.html was shown instead. The facebook connect button is still there, meaning that the user has not yet connected, and when I click the button, nothing happened.

Can anyone give me a clue, what have I done wrong here?

Thanks, Andree.