我正在使用Facebook的“Post to your wall”弹出窗口在用户墙上发布消息。它显示了用户可以编写消息的文本区域。我想在该文本区域中放置自定义文本;现在它有一个水印,上面写着“写点东西......”。我需要替换它。
我正在使用与https://developers.facebook.com/docs/channels/相同的代码:
FB.init({
appId:'YOUR_APP_ID', cookie:true,
status:true, xfbml:true
});
FB.ui({ method: 'feed',
message: 'Facebook for Websites is super-cool'});
答案 0 :(得分:0)
FB.ui(
{
method: 'feed',
name: 'Facebook Dialogs',
link: 'https://developers.facebook.com/docs/reference/dialogs/',
message: 'Dialogs provide a simple, consistent interface for applications to interface with users.'
});
添加链接
答案 1 :(得分:0)
根据this facebook platform update,自7月12日起,不再支持消息字段。