自从我发现我的应用程序中没有收到一些朋友的帖子以来,我一直在搜索这么多小时。我查看了FQL 文档,在 Internet 上进行了搜索,但一无所获。
我现在可以使用 Graph API 获取它们,请求“提要”,但我收到了很多我不需要的帖子类型,因为我开始使用 FQL 请求“流”,我可以在其中指定一些类型(46 - 状态更新,80 - 链接发布等)。
这种类型的帖子是在一个人的墙上发布的,当他/她分享他/她在他的墙上发布的状态、照片或链接另一个人时,这是“status_type”:“shared_story”。
有人知道是否可以通过 FQL 获得它们?
谢谢你。
PS:好的,这太疯狂了,我看到了一篇使用 FQL 获得的此类帖子,我使用 Graph API 请求提要,类型是相同的“shared_story”。但由于某种原因,我不明白我没有得到所有这些。是否有另一个参数可以在它们之间产生差异?因为我看不到。
我没有收到这个:
{
"id": "",
"from": {
"name": "",
"id": ""
},
"story": "",
"story_tags": {
"0": [
{
"id": "",
"name": "",
"offset": 0,
"length": 24,
"type": "user"
}
],
"32": [
{
"id": "",
"name": "",
"offset": 32,
"length": 18,
"type": "page"
}
]
},
"picture": "",
"link": "",
"name": "s",
"caption": "",
"properties": [
{
"name": "",
"text": "",
"href": ""
}
],
"icon": "",
"actions": [
{
"name": "Comment",
"link": ""
},
{
"name": "Like",
"link": "4"
}
],
"privacy": {
"value": ""
},
"type": "photo",
"status_type": "shared_story",
"object_id": "",
"application": {
"name": "Links",
"id": "2309869772"
},
"created_time": "",
"updated_time": "",
"likes": {
"data": [
{
"name": "",
"id": ""
}
],
"count": 1
},
"comments": {
"count": 0
}
}
但是,我收到了这个:
{
"id": "",
"from": {
"name": "",
"id": ""
},
"message": "",
"picture": "",
"link": "",
"source": "",
"name": "",
"caption": "",
"description": "",
"icon": "",
"actions": [
{
"name": "Comment",
"link": ""
},
{
"name": "Like",
"link": ""
}
],
"privacy": {
"value": ""
},
"type": "video",
"status_type": "shared_story",
"application": {
"name": "Links",
"id": "2309869772"
},
"created_time": "",
"updated_time": "",
"comments": {
"count": 0
}
}