I am trying to retrieve comments by given url, e.g.
https://graph.facebook.com/comments/?ids=http://example.com/
However, when I substitute a link, I get an empty set, even comments exist on the page..
Wonder if it’s related to oauth and if I have to provide access token or smth..I am using js, I would appreciate if you would help with any samples how to retrieve comments by URL or by commentID using FQL
UPDATE QUESTION:
How some url work with API without any tokens being passed, where other don’t work?
example: http://graph.facebook.com/comments?id=http://techcrunch.com/2011/09/20/digg-experiments-with-topic-newsrooms-aggregates-news-by-most-meaningful-stories/ (works)
If the site has a comments object associated to it, you’ll see the comments. Otherwise you will see what you’re seeing, an empty dataset. Example …
First, graph TimHortons … then visit the Comments Plugin … Enter in “TimHortons.com” in the domain … Leave a comment … now visit the graph TimHortons again …
See the comments? Hope this helps.