Here is what I have done:
Add the following code at the page where you want the feed to showup. In my case, I added it in the JFBInvite module under the default.php file at the end. You need to add the file xd_receiver.html and put it somewhere in your website, then reference to it in the FB.Facebook.init() call. Note that the function addLoadEvent is critical for smooth operation in IE. Otherwise, you will get an operation abort error.
Thanks.
Albert
<script src="
static.ak.connect.facebook.com/js/api_li...FeatureLoader.js.php" type="text/javascript">
<script type="text/javascript">
function addLoadEvent () {
FB.Bootstrap.requireFeatures(["Connect","XFBML"],
function() {
FB.Facebook.init("<your facebook app id>", "/var/www/vhosts/puxzycat.com/httpdocs/includes/facebook/xd_receiver.html");
var attachment = { 'media':
[{'type': 'image',
'src': '<url to an image>',
'href': '<url to redirect to when users click on this>'}]};
FB.Connect.streamPublish('default news feed text', attachment);
});
}
window.onload = addLoadEvent ;
</script>