开发者

Facebook Graph API and limits

开发者 https://www.devze.com 2023-03-28 07:41 出处:网络
I am working with the Graph API but I have found it to be rather limited. In the news feed on the Facebook website you might开发者_高级运维 see \"X and 14 other friends likes Y page.\" or \"X and 3 ot

I am working with the Graph API but I have found it to be rather limited. In the news feed on the Facebook website you might开发者_高级运维 see "X and 14 other friends likes Y page." or "X and 3 other friends has changed their profile picture."

In the Graph API it will look like the code below when X and 14 other friends has liked the same page. The Graph API only returns the name of X but not how many friends other than X who have liked the page.

{
    application =     {
        id = 01010101;
        name = Pages;
    };
    comments =     {
        count = 0;
    };
    "created_time" = "2011-08-15T08:35:47+0000";
    description = "Description of page.";
    from =     {
        id = 1111;
        name = "X";
    };
    icon = "---";
    id = "http://static.ak.fbcdn.net/rsrc.php/v1/yN/r/xC785tTCIQO.gif";
    link = "http://..../";
    name = "Y";
    picture = "---";
    type = link;
    "updated_time" = "2011-08-15T08:35:47+0000";
}

I don't see any way to get this information. Am I right or am I missing something?


It depends on the type of object you are accessing. Recently, Facebook have begun to hide useful info such as who specifically liked something, I'd imagine because they don't want people writing analytics packages for facebook but would prefer users to use the facebook system.

I know when it comes to images you can only get the number of likes , but not who they actually came from.

Your best bet is to use FQL which still lets you retrieve some of this information.

0

精彩评论

暂无评论...
验证码 换一张
取 消