When I make the Graph call https://graph.facebook.com/me/home
, I get back a paged set of the posts on my feed. Recently, I've started to get items that appear to represent things like "John Doe liked a page". They are marked as a link, but if I ask FB for the item, I get back a status post. Here's an example, scrubbed of personal data:
{
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";
}
However, if I ask for this post using the id, I get this:
{
"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
}
}
Looking in FB, I see a post that says "John likes (name of page)".
How can I identify these? Why does it first show up as a link then as a status update? Is there any documentation of this "activity" information? There are other examples that come from "John Doe and others changed their profile image" and so forth. I am having to do some very silly, fragile filtering code to remove these until I know how to deal with them.
Help appreciated.