I tried setting the "no_feed_story" parameter to 1, but it does not seem to perform the trick (at least in sandbox mode).
What I ended up with was making another request to get page feeds, to find the event post ID and then delete it (this requires publication permission)
Here is an example in php (sorry, I do not work with asp.net):
// .. curl was configured and the event created just before this. $newEventId = $result['id']; curl_setopt($ch, CURLOPT_URL, "https://graph.facebook.com/$page/feed?access_token=$accessToken"); curl_setopt($ch, CURLOPT_POST, false); $received_content = curl_exec($ch); $result = json_decode($received_content, true); foreach ($result['data'] as $feed) { if ($feed['link'] == "https://www.facebook.com/events/$newEventId/") { $postId = $feed['id']; break; } } if (isset($postId)) { curl_setopt($ch, CURLOPT_URL, "https://graph.facebook.com/$postId?access_token=$accessToken"); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE'); $received_content = curl_exec($ch); $result = json_decode($received_content, true); var_dump($result); }
kaore source share