如何使用 FBJS 提示用户在 facebook 中发布 feed?
尝试了如下所示的操作,并且发生了第 n 次 -
<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>
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>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以输入字符串作为参数。 该字符串是用户在发布时为帖子输入的消息。
但还有其他几个参数可以输入,我建议阅读更多这里。
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.