Facebook Graph API - 状态更新

时间:2014-03-17 10:05:01

标签: ios facebook facebook-graph-api

我目前正在使用Graph API为用户检索新闻Feed。但是,某些“更新”类型的帖子不会在原始帖子上返回任何信息,例如在下面发布的结果摘录中,故事是“Joubert Nel评论了一个链接”,但没有关于链接是什么或者随之而来的图片的信息。我怎样才能获得这些信息?

actions =             (
                            {
                link = "https://www.facebook.com/637106301/posts/520940825396";
                name = Comment;
            }
        );
        comments =             {
            data =                 (
                                    {
                    "can_remove" = 0;
                    "created_time" = "2014-03-15T13:06:43+0000";
                    from =                         {
                        id = 100000194244146;
                        name = "Laurie Edwards";
                    };
                    id = "520940825396_133907";
                    "like_count" = 2;
                    message = "Or you could just come home for a while!";
                    "user_likes" = 0;
                },

            );
            paging =                 {
                cursors =                     {
                    after = "MTI=";
                    before = "MQ==";
                };
            };
        };
        "created_time" = "2014-03-15T14:41:56+0000";
        from =             {
            id = 637106301;
            name = "Joubert Nel";
        };
        id = "637106301_520940825396";
        likes =             {
            data =                 (
                                    {
                    id = 214500098;
                    name = "Samuel Freilich";
                },
                                    {
            );
            paging =                 {
                cursors =                     {
                    after = "OTUwMTE2OA==";
                    before = MjE0NTAwMDk4;
                };
            };
        };
        privacy =             {
            value = "";
        };
        story = "Joubert Nel commented on a link.";
        "story_tags" =             {
            0 =                 (
                                    {
                    id = 637106301;
                    length = 11;
                    name = "Joubert Nel";
                    offset = 0;
                    type = user;
                }
            );
        };
        type = status;
        "updated_time" = "2014-03-15T14:41:56+0000";

1 个答案:

答案 0 :(得分:0)

是Joubert发布​​的链接?或者使用app你有权限。听起来你没有发布(链接)的权限,但你有权使用Joubert活动