我正在使用下面的代码在打开图中使用 Post 操作,但收到错误消息“[Object Object]”
可能是什么问题???,我按照所有分步指南从该 URL https://developers.facebook.com/docs/opengraph/tutorial/#publish发布操作
<script type="text/javascript">
function postArticle() {
FB.api(
'/me/ICONSolutions-test:Read',
'post',
{ Article: 'http://fbwerks.com:8000/zhen/cookie.html' },
function (response) {
if (!response || response.error) {
alert(response.error);
} else {
alert('Successful! Action ID: ' + response.id);
}
});
}
</script>
<input type="button" value="POST" onclick="postArticle()" />