Facebook评论CreatedTime是错误的

时间:2015-10-09 17:16:54

标签: android facebook facebook-comments

我在浏览器中使用此网址并且返回的所有数据都是正确的

  

https://graph.facebook.com/399455050251075/comments

但是当使用Facebook SDK for android时

  

" created_time":1444239249

但在浏览器中

  

" created_time":" 2015-10-07T17:34:09 + 0000"

他们和他们不一样 我使用Facebook SDK版本" 3.19.0"

如果可以在不更新

的情况下解析,我现在不想升级SDK

来自Facebook SDK中的响应对象的原始响应

{
    Response: responseCode: 200,
    graphObject: GraphObject{
        graphObjectClass=GraphObject,
        state={
            "data": [{
                "created_time": 1444239249,
                "from": {
                    "name": "Mahmoud El-Naggar",
                    "id": "520891598050037"
                },
                "message": "some exciting missions being launched soon i hear!!",
                "can_remove": true,
                "like_count": 0,
                "user_likes": false,
                "id": "399455050251075_412289715634275"
            },
            {
                "created_time": 1443600305,
                "from": {
                    "name": "Spotter Man",
                    "id": "448133032016057"
                },
                "message": "fantastic",
                "can_remove": false,
                "like_count": 1,
                "user_likes": false,
                "id": "399455050251075_410851479111432"
            },
            {
                "created_time": 1443543478,
                "from": {
                    "name": "Spotter Man",
                    "id": "448133032016057"
                },
                "message": "Great",
                "can_remove": false,
                "like_count": 1,
                "user_likes": false,
                "id": "399455050251075_410732165790030"
            },
            {
                "created_time": 1440332320,
                "from": {
                    "name": "Subul Tanveer",
                    "id": "10206076595886469"
                },
                "message": "Very well deserved you guys!",
                "can_remove": false,
                "like_count": 1,
                "user_likes": false,
                "id": "399455050251075_399466336916613"
            }],
            "paging": {
                "cursors": {
                    "before": "NgZDZD",
                    "after": "MwZDZD"
                }
            }
        }
    },
    error: null,
    isFromCache: false
}

您可以看到此结果与浏览器上的结果之间的区别

0 个答案:

没有答案