我正在使用以下代码发布到用户墙。我从 developer.facebook 获取此代码。但是在打开对话框时出现“发生错误。请稍后再试”之类的错误。
FB.ui(
{
method: 'feed',
name: 'Facebook Dialogs',
link: 'http://developers.facebook.com/docs/reference/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
caption: 'Reference Documentation',
description: 'Dialogs provide a simple, consistent interface for applications"
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
}
);
请分享解决此问题的想法