Facebook Graph API not returing all comments of posts -


hi see facebook graph api not returing comments of posts page.it shows posts of page not showing comments each post.it showing last 2 comments only!!. other pages shows comments.so don't why problem pages? facebook bug? or please suggest if wrong.i used access token of app read_stream premission.i don't want use other permissions coz it's security risk.

please reply

thanks

its because commentor privacy settings. if user turn off, can't request comments via api. when testing on facebook graph api:

postid/?fields=comments.summary(true)

you see debug info:

total_count represents approximate number of nodes on comments edge. actual number of results returned might different depending on privacy settings.

you can refer related question: facebook graph api returns not comments


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -