【发布时间】:2014-12-04 04:59:37
【问题描述】:
我目前正在使用 Facebook Graph API 来点赞 facebook 中的帖子。 如https://developers.facebook.com/docs/graph-api/reference/v2.1/object/likes 中所述 这是我的代码:
FB.api(
"/{object-id}/likes",
"POST",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
我有 publish_actions 权限,我也有用户令牌,但错误是
FB.__globalCallbacks.f151265214({"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}});
有人可以帮忙吗?现在有点绝望。谢谢。
【问题讨论】:
标签: javascript html facebook api facebook-graph-api