I'm trying to get my Facebook posts details which i have posted (details like tagged location, likes, comment and etc) by using a JavaScript app hosted in a server.I was able to get user basic information like first name, age, profile pic and etc. I used following code to extract posts details but i was not able to fetch those data.
FB.api("/me/posts", function(response) {
console.log(response);
});
FB.api("/me?fields=posts.limit(50)", function(response) {
console.log(response);
});
I'm receiving a output like following
Object {id: "*************"}
I host my on AWS. Is there is any need to take any permission from Facebook to get those data or what is the mistake that i'm doing? Thank you