问题
Is there a way to retrieve all Facebook Message ids with the read_mailbox permission and then delete them all one by one? Everyone is crying about how it's difficult to delete your chat/message history. Wondered if there was an easy way to write an app to do this.
http://developers.facebook.com/docs/reference/api/message/
回答1:
Normally you would issue an HTTP DELETE call to https://graph.facebook.com/messageID?access_token=... But it appears that this is an API call that either require special whitelisting from Facebook or isn't currently supported because it does not work right now and returns "Unsupported delete request."
来源:https://stackoverflow.com/questions/7607341/deleting-facebook-messages-via-facebook-api