开发者

facebook graph api: delete notification

开发者 https://www.devze.com 2023-03-07 10:57 出处:网络
string sURL = \"https://graph.facebook.com/\" + _requestID + \"?access_token=\" +app.AccessToken + \"&method=delete\";
string sURL = "https://graph.facebook.com/" + _requestID + "?access_token=" +  app.AccessToken + "&method=delete";

    WebRequest request = WebRequest.Create(sURL);
    request.Method = "DELETE";

I use this code to delete a开发者_如何学JAVAn apprequest. The request is removed from the list, but the notification is still there. Is there any way to delete it? Did i miss something when i am deleting the apprequest maybe? Thanks


Make sure that final generated request is like below:

DELETE https://graph.facebook.com/ID?access_token=... HTTP/1.1

Also make sure that you're access_token have actually have access to user posts.

0

精彩评论

暂无评论...
验证码 换一张
取 消