<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<div id="facebook">
<fb:login-button onlogin="facebook_onlogin();"></fb:login-button>
</div>
<script type="text/javascript"> FB.init("5dbe0d9768c26d9b553f394b3e4ac644", "xd_receiver.htm"); </script>
when i click it ,traceback:
i changed this :
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function(){
FB.init("5dbe0d9768c26d9b553f394b3e4ac659", "xd_receiver.htm");
});
</script>
and run on webserver,it be:
and when i click 'content'
it be:
why ?
thanks
my xd_receiver.htm is :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript"></script>
</body>
</html>
it is ok now ,and how to defined the return page when ruturned from login.facebook.com,i used django.