<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
<script type="text/javascript">
function isLoggedIn(){
$('#fb_dash_anon').hide();
$('#fb_dash_loggedin').show();
}
function isNotLoggedIn(){
$('#fb_dash_loggedin').hide();
$('#fb_dash_anon').show();
}
</script>
<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("1bdcdc1f61590a4b9f63b7dcf07a4e42", '/xd_receiver.htm', {"ifUserConnected" : isLoggedIn, "ifUserNotConnected" : isNotLoggedIn});
</script>
<div id="fb_dash_loggedin" style="display:none;">
You are currently logged in.
</div>
<div id="fb_dash_anon" style="display:none;">
<fb:login-button onlogin="window.location = '/';">Connect</fb:login-button>
</div>
It's very simple. I followed all the instructions that they have. In fact, this works on my other site. I just copied and pasted it to this new site and it's not working.
I have xd_receiver.htm, and it's there correctly. My site is: http://174.143.207.170:8000/