tags:

views:

1470

answers:

1

Tried sth like below and nth happens..

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">   

FB_RequireFeatures(["XFBML"], function(){ 
    FB.Facebook.init("<?=$apiKey?>", "channel/xd_receiver.htm"); 
    var api = FB.Facebook.apiClient;

Facebook.streamPublish();   
}); 
</script>
+1  A: 
Facebook.streamPublish();

String can be inputed as parameters. The string being the message the user enters for the post at the time of publication.

But there are also several other parameters that can be inputed, I would suggest reading more here.

Jacob Nelson
Thanks for the answer. I have coded as following and nth happens, wht is probably wrong for this?<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script><script type="text/javascript"> FB_RequireFeatures(["XFBML"], function(){ FB.Facebook.init("<?=$apiKey?>", "channel/xd_receiver.htm"); var api = FB.Facebook.apiClient; Facebook.streamPublish();});