我正在尝试使用fb.api邀请用户参加Facebook的活动:
FB.api('/345345345345453/attending', 'post', function (data) {
console.log(data);
});我也试过了,但也没有用:
FB.api('/345345345345453/attending&access_token + '/ACCESSTOKEN'', 'post', function (data) {
console.log(data);
});我在日志中收到一条消息:
"(#100) User must be able to RSVP to the event."有人能帮上忙吗。谢谢。
发布于 2012-11-08 01:32:27
如果你想邀请用户,你应该使用invited而不是attending。See the documentation。使用attending自动将他们标记为参加您的活动。
发布于 2012-11-08 01:29:18
好吧,碰巧我创建了一个“秘密”的Facebook事件。
https://stackoverflow.com/questions/13274523
复制相似问题