I'm having this situation. In my FB.api call, a unknown JSON object was returned to me. I'm trying to figure out how to look into this JSON object!
FB.api('/me/feed', 'post', wallPost , function(response) {
if (!response || response.error) {
alert('Error occured' + response);
} else {
alert('Post ID: ' + response);
}
});