I looked at this site and looked at the documents on Facebook, but I canβt delete the invitation after a friend has agreed. So what happens: 1. Steve invites John to the game. 2. John receives an invitation and clicks. 3. John is sent to the game, but the invitation message is not deleted on his facebook page.
Facebook docs suggests adding "method = delete" when I post a message https://graph.facebook.com/[request_id]?access_token=xxxx
But this returns me "{"error":{"type":"OAuthException","message":"(#2) Invalid parameter: Unknown error"}} ". I am sure I am using the latest access_token.
Can someone provide me with a sample code that removes the application prompt after the user accepts?
EDIT: I also tried DELETE ie DELETE https://graph.facebook.com/ [request_id]?access_token=xxxx And I get the same error
Thanks.
source share