0
我嘗試使用下面的代碼,邀請登錄Facebook的用戶對某個事件的朋友們: -邀請事件朋友拋出OAuthException
FB.ui({method: 'apprequests',
message : user.name + " has invited you to an event",
title : "Invite friends to go along with you",
},function(response){
for(i=0;i<response.to.length;i++){
FB.api('/'+eventId+'/invited/'+user.id,'post',function(resp){
alert(resp);});
}
});
但我收到此錯誤
error:{"message":"(#200) ","type":"OAuthException","code":200}
我有用戶的create_event,manage_pages,publish_stream,photo_upload權限。任何人都可以提供給我指示我哪裏出錯的地方。