Over the past couple days, the Facebook cross-domain receiver file listed on the Facebook Developers Website has been offline--not available for download. There are other sources for this file, but we will list it's contents here--it's easy to set up since it is a simple HTML file.
<script src=
"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"
type="text/javascript"></script>
<fb:comments></fb:comments>
<script type="text/javascript">
FB.init("YOUR_API_KEY_HERE", "<path from web root>/xd_receiver.htm");
</script>
This block will be placed on your display web page. This sample posting application is a great place to get started. You will need to set up your application on the developers.facebook.com website. From there, go to your application preferences and provide the domain and URL of your website, where you wish to host the application.
cross-domain receiver file
Additionally, you will need the cross-domain receiver file, which you can name and place in your directory as: /xd_receiver.htm.
The contents of this file are simple:
<!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" >
<head>
<title>cross domain receiver page</title>
</head>
<body>
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript"></script>
</body>
</html>