当我进行 Graph 调用https://graph.facebook.com/me/home
时,我会在我的提要中返回一组分页的帖子。最近,我开始获得一些似乎代表“John Doe 喜欢页面”之类的项目。它们被标记为链接,但如果我向 FB 询问该项目,我会返回一个状态帖子。这是一个删除个人数据的示例:
{
application = {
id = 2530096808;
name = Pages;
};
comments = {
count = 0;
};
"created_time" = "2011-08-28T18:54:09+0000";
description = "some text";
from = {
id = xxxxxx;
name = "John Doe";
};
icon = "https://s-static.ak.facebook.com/rsrc.php/v1/yN/r/xCxxxxxxQO.gif";
id = "xxxxxxx_xxxxxxxxx";
link = "http://www.facebook.com/pages/Ted.Smith/xxxxxxxx";
name = "(name of page)";
picture = "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/276841_xxxxxxxxxx_xxxxx_q.jpg";
type = link;
"updated_time" = "2011-08-28T18:54:09+0000";
}
但是,如果我使用 id 要求这篇文章,我会得到:
{
"id": "xxxxx_xxxxx",
"from": {
"name": "John Doe",
"id": "xxxxxxx"
},
"type": "status",
"created_time": "2011-08-28T18:54:09+0000",
"updated_time": "2011-08-28T18:54:09+0000",
"comments": {
"count": 0
}
}
在 FB 中,我看到一个帖子,上面写着“约翰喜欢(页面名称)”。
我怎样才能识别这些?为什么它首先显示为链接,然后显示为状态更新?是否有任何有关此“活动”信息的文档?还有其他示例来自“John Doe 和其他人更改了他们的个人资料图片”等等。在我知道如何处理它们之前,我不得不做一些非常愚蠢、脆弱的过滤代码来删除它们。
帮助表示赞赏。