title: Edit and delete an event in Facebook using Javascript SDK
body: <p>How can I edit and delete an event in Facebook using the Javascript SDK? I've been Googling for a day with no sucess! </p>
  
  <p>Thanks for any help!</p>
  
  <p>UPDATE:</p>
  
  <p>After banging my head on the wall several times, I've finally discovered how to accomplish these tasks:</p>
  
  <ul>
  <li><p>To edit an event:</p>
  
  <p>FB.api("/"+event_id,
      'post',
          {
          name: evname,
          start_time:"2011-08-25T12:00:00",
          end_time:"2011-08-25T23:00:00",
          location: address,
          description: desc
          } ,
      function(resp) {
          alert('ok');
      });</p></li>
  <li><p>To delete an event:</p>
  
  <p>FB.api("/"+event_id,
      'delete',
      function(resp) {
          alert('ok');
      });</p></li>
  </ul>