// async: false,
cache:false,
url:"https://graph.facebook.com/"+post_id_here+"/comments?summary=true&limit=25&access_token="+token_here+"",
dataType: "jsonp",
success:function (data, textStatus, XMLHttpRequest) {
var data=data.data;
},
error:function()
{ },
complete:function ()
{ }
});
Its a jquery ajax call.
Here you need to specify post id for which we retrieving comments,
also it needs any facebook access token for a user.You can generate
token easily for a user.In success function of ajax call we getting
comments in 'data' parameter.you need to understand how to extract
each comment from 'data' structure.
If you have questions about this post or any topics, post your questions in
discussions/forum in this website, you will get your answer