【发布时间】:2012-03-31 10:41:22
【问题描述】:
我正在尝试为我的应用程序创建一个阅读按钮。我已经按照教程实现了代码,但是当我点击发布按钮时,它显示错误发生
<script type="text/javascript">
function postArticle()
{
FB.api(
'/me/svolzesocial:news.reads?article=<?php the_permalink() ?>',
'post',
function(response) {
if (!response || response.error) {
alert('Error occured');
} else {
alert('Successful! Action ID: ' + response.id);
}
});
}
</script>
我也尝试过调试,但那里没有显示错误。 我在这个页面上创建了发布按钮Svolze post请帮我解决这个问题!
【问题讨论】:
标签: facebook action publish facebook-opengraph