これは私が使用した機能です:
function deletePost(post_id){
$.confirm({
text: "Are you sure want to delete this post?",
confirm: function(button) {
var params3 = {};
params3['access_token'] = 'MY_ACCESS_TOKEN';
params3['method'] = 'DELETE';
FB.api('/' + post_id + '', 'DELETE', params3,
function(response) {
console.log(response);
if(response.error.message){
alert(response.error.message);
}
else{
alert("Successfully Deleted!");
}
});
},
cancel: function(button) {
}
});
}
権限設定で次のスコープを既に使用しています: {scope:'email, publish_stream, publish_actions, read_stream, manage_pages'}
私は次の応答を得ています:
(#200) The user hasn't authorized the application to perform this action