Hi Jeaffrey, could you please provide an example post with this behaviour? I checked several posts and the API always returns all comments. Make sure you provide proper Post_ID
–
BartekJan 25 '11 at 13:22

Does access_token need fb app? I don't want people have to authorize my app first, except they want to put a comment. Am I in right direction?
–
Jeaffrey GilbertJan 26 '11 at 7:06

4

@Jeafrey Gilbert: as long as they are commenting on something YOU own, then don't have to authorize your app or deal with it. You just need to be authorize...so the access_token is yours
–
ifaourJan 31 '11 at 19:12

1

no, you wouldn't know if it is something YOU own if you don't login. I think he needs to create an app ID and ask the user to login and authorize first.
–
Enrico SusatyoFeb 3 '11 at 14:06

Sorry I misread... If what YOU own is public, yes you can see it even if you're not authorized. But wouldn't you still need to be authorized to make any comments?
–
Enrico SusatyoFeb 3 '11 at 14:16

@the_great_monkey: 1)please don't down-vote before reading and understanding the problem. 2)even if what you own is public, depending what are the commenter privacy settings you may not be able to retrieve their comments without being authenticated.
–
ifaourFeb 3 '11 at 15:46

By the way I am also new to this Fb stuff, I am looking for help to post comments. When I try to use graph.api./id/comments?access_token=sdfsfsdf&message="D" it still returns comments for the id instead of posting.

I experienced the same problem with comments. The issue was that I was using an access token for a test user. Because test users don't have access to other FB users information, only the comments from pages were shown.

SELECT comments FROM stream WHERE post_id = [yourpostid] shall not work in this case ..

the id which is returned after making a graph call successfully to post on a user's wall (using access_token of an application ) is of the form abcdef_qwerty ( underscore seperated id )
where as the post id which is mapped in the post_id of the comments table is of the form "lmnop" ..

to get the counts of like and comments on this post id of form "abcdef_qwerty" making a graph call withh app generated access token seems to be the only solution ..

As a sanity check, do you have "read_stream" permission? I can see the full comments with my access token that uses "read_stream". As mentioned by other people, you have to use https and access token as well...