title: How do I acquire DELETE permissions on Facebook Graph API (PHP SDK)?
body: <p>Simple, imagine I am posting a wall post or an event on a random Facebook Page from a PHP script, and I want to delete the item. I simply use this :</p>
  
  <pre><code>$facebook-&gt;api('/'.FacebookId,'DELETE');
  </code></pre>
  
  <p>Of course, the FacebookId is structured like : userid_postid</p>
  
  <p>But that doesn't work. To see why, I simply go to this URL :</p>
  
  <p><a href="https://graph.facebook.com/" rel="nofollow">https://graph.facebook.com/</a>" + postID + "?method=delete&amp;access_token=" + AccessToken;</p>
  
  <p>Here is the result : </p>
  
  <pre><code>{
     "error": {
        "message": "(#200) Permissions error",
        "type": "OAuthException",
        "code": 200
     }
  }
  </code></pre>
  
  <p>By lurking around stackoverflow, I found this bug : <a href="http://bugs.developers.facebook.net/show_bug.cgi?id=12777" rel="nofollow">http://bugs.developers.facebook.net/show_bug.cgi?id=12777</a>
  It is still not resolved.</p>
  
  <p>So if anyone knows how to get this permission, I would appreciate your help.</p>