$result = $obj_facebook->api('/'.$model['fb_event_id'].'/events', 'POST', $event_info);
答案 0 :(得分:0)
仅针对事件ID进行POST,因此请更改:
$result = $obj_facebook->api('/'.$model['fb_event_id'].'/events', 'POST', $event_info);
到
$result = $obj_facebook->api('/'.$model['fb_event_id'], 'POST', $event_info);
请点击此处了解更多:: FB Events