I have about 90% of the PHP code done for a really nice facebook connect integration with my social network but I am having 1 huge problem.
This code below is supposed to show a facebook connect button on the page but instead it show nothing at all.
<body onload="initFB();">
<fb:login-button length="long" background="light" size="medium"></fb:login-button>
<script type="text/javascript">
function fbConnect() {
FB.init("", "/testing/facebook/xd_receiver.htm",{"reloadIfSessionStateChanged":true});
}
</script>
Further more if I hardcode a html popup for facebook connect to open then when it opens it up with the connection page and seems to work, everything works now except showing any of the facebook stuff on my page before or after loggin in with it
Any ideas what could be wrong? I think it has to do something with this xd_receiver.htm file, facebook ask you to put it on your page where you want to use facebook connect, it makes there javascript work and stuff, I have tried different file paths and such to see if that made a difference but it does not seem to help