my *_*xyz 2 facebook facebook-graph-api facebook-javascript-sdk
我使用以下代码发布到用户wall.I从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.');
}
}
);
Run Code Online (Sandbox Code Playgroud)
请分享想法来解决这个问题
| 归档时间: |
|
| 查看次数: |
8070 次 |
| 最近记录: |