脸谱图无法获得评论

fis*_*man 4 facebook facebook-graph-api

搜索后从图表发布

https://graph.facebook.com/search?q=watermelon&type=post&fields=from,message,picture,link,name,caption,comments,description,created_time,id&token=XXXXXXXXXXXXX

这里将返回一些数据.在第三篇文章中:

     "from": {
        "name": "Alessio Mrbillyplus Frustaci",
        "id": "1665626783"
     },
     "picture": "http://external.ak.fbcdn.net/safe_image.php?d=AQDGoBK_lUeeMb5x&w=130&h=130&url=http\u00253A\u00252F\u00252Fi3.ytimg.com\u00252Fvi\u00252Fjo5GcYeh7XA\u00252Fdefault.jpg",
     "link": "http://www.youtube.com/watch?v=jo5GcYeh7XA&feature=share",
     "name": "Herbie Hancock \"Watermelon Man\"",
     "caption": "www.youtube.com",
     "description": "From the 1973 album \"Headhunters\" here's Herbie Hancock with \"Watermelon Man\" Sampled by Super Cat \" Dolly My Baby\" LL Cool J \"1-900-LL Cool J\" Shaquille O'N...",
     "created_time": "2011-09-17T17:44:48+0000",
     "id": "1665626783_235117223205324",
     "comments": {
        "data": [
           {
              "id": "1665626783_235117223205324_3043725",
              "from": {
                 "name": "Alessio Mrbillyplus Frustaci",
                 "id": "1665626783"
              },
              "message": "La enne e la doppia effe aaaaaa",
              "created_time": "2011-09-17T17:45:52+0000"
           }
        ]
     }
  },
Run Code Online (Sandbox Code Playgroud)

显然它有评论.那PostID1665626783_235117223205324CommentID1665626783_235117223205324_3043725吗?但是,当我尝试搜索一个postcomments,数据返回空.

https://graph.facebook.com/1665626783_235117223205324?access_token=XXXXXXXXXXX//空

https://graph.facebook.com/1665626783_235117223205324/comments?access_token=XXXXXXXXXXX//空

https://api.facebook.com/method/fql.query? callback=json& query=SELECT%20comments%20FROM%20stream%20WHERE%20post_id%20%3D%20'1665626783_235117223205324'&access_token=XXXXXXXXXXXXXX //空

什么是大问题?

Igy*_*Igy 5

可能存在隐私设置,阻止当前用户查看帖子或评论,这些评论在哪里发布?您是否使用可以查看内容的用户使用access_token访问它们?

正如Mahima所说的那样,这两个电话都应该正常工作,我已经测试了与我自己的新闻源或页面墙上的帖子相同的电话.

/1665626783_235117223205324对我的呼叫返回false,表示我没有权限查看该项目.

这也可能是一个错误,但你需要有一套非常清晰的样本数据来证明这个问题,以便它可以被Facebook复制