facebook connect button not producing pop-up

Posted by bigmac on Stack Overflow See other posts from Stack Overflow or by bigmac
Published on 2010-03-31T03:11:44Z Indexed on 2010/03/31 3:13 UTC
Read the original article Hit count: 457

Filed under:
|

This is a really simple question, but I can't seem to find the answer. I am just getting started with Facebook Connect. I would like to use it only for user authentication, so there is no need for my users to create another account.

I used a very basic example from wiki.developers.facebook.com :

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head></head>
<body>

<fb:login-button></fb:login-button>

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script>

<script type="text/javascript">
    FB.init("***api-key***", "xd_receiver.htm");
</script>

</body>
</html>

Very straight forward. It seems to work fine. However, if I am currently already logged in to Facebook, the pop-up window doesn't come up when I click the login button. Why is that?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-connect