Update: the problem seems to be magically fixed because I don't know what has changed. If someone has an idea of how I accidentally fixed it, send a message (I include myself: P).
I'm trying to use Facebook Connect on my site, but I'm having problems using requireSession or fb: login-button. Currently, when the user clicks the connect button, they get a popup, but I really want to show the modality on the page. How can I do it? Currently what I have on the pages is the HTML:
<a href="#" onclick="FB.Connect.requireSession(on_session_ready); return false;">
Connect with Facebook
<img id="fb_login_image"
src="http://b.static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_dark_small_short.gif"
alt="Connect"/>
</a>
(I am sure this is not a problem for on_session_ready, because it is called only after fb connect receives the session.)
I also tried using an XFBML tag called fb: login-button, but I also get a popup when I do this.
What am I doing wrong?
source
share