1

我想使用 fql 查询获取每个帖子 ID 以及页面的所有评论。如果我使用 -

SELECT text,post_id  FROM comment  WHERE post_id IN(SELECT post_id  FROM stream  WHERE source_id=page_id_here) 

这返回 -

{
  "data": [
    {
      "text": "Would be nice if my website would let me do the update. It says I have the most current version 2.5.9 :(",
      "post_id": "2211155996_10151336546425997"
    },
    {
      "text": "All of mine just started showing the update message in the last hour and just got the emails from Admin tools.",
      "post_id": "2211155996_10151336546425997"
    },
........continues

如您所见,它在一个对象中返回文本和 post_id。我想要的是在一个对象中会有 post_id 及其所有评论。希望我在挣扎一个小时时得到答案。这与多查询有关

4

0 回答 0