2011-03-02 56 views
0

這是我的代碼,如何在PHP中發佈圖片到facebook事件?

$event_info['name'] = $name2; 
$event_info['category'] = 1; 
$event_info['privacy_type'] = 'OPEN'; 
$event_info['subcategory'] = 1; 
$event_info['description'] = $description_new; //description for event 
//$event_info['host'] = $desc; //description for event 
//$event_info['host'] = 'You'; 
$event_info['location'] = $location; 
$event_info['city'] = $city; //Must be a valid city name 

$event_info['start_time'] = $newTime; //Converts time to UTC 
$event_info['picture'] = "@http://static.eventful.com/images/small/I0-001/003/184/085-4.jpeg"; 

一切後,除了形象,我想創建一個事件圖像事件。

怎麼辦?

回答