Responses

跳转到: 导航, 搜索
第22行: 第22行:
 
             }
 
             }
 
         }
 
         }
 +
    },
 +
    "match_info":{            //匹配信息
 +
        "keyword":"不是",    //匹配上的关键词
 +
        "uid":0              //匹配上的用户ID
 
     }
 
     }
 
}
 
}
第100行: 第104行:
 
             }
 
             }
 
         }
 
         }
 +
    },
 +
    "match_info":{            //匹配信息
 +
        "keyword":"不是",    //匹配上的关键词
 +
        "uid":0              //匹配上的用户ID
 
     }
 
     }
 
}</pre>
 
}</pre>
第137行: 第145行:
 
             }
 
             }
 
         }
 
         }
 +
    },
 +
    "match_info":{            //匹配信息
 +
        "keyword":"不是",    //匹配上的关键词
 +
        "uid":0              //匹配上的用户ID
 
     }
 
     }
 
}</pre>
 
}</pre>
第249行: 第261行:
 
             }
 
             }
 
         }
 
         }
 +
    },
 +
    "match_info":{            //匹配信息
 +
        "keyword":"不是",    //匹配上的关键词
 +
        "uid":0              //匹配上的用户ID
 
     }
 
     }
 
}
 
}

2013年11月29日 (五) 17:46的版本

● original statuses:

{
    "id": 1211260020031346,
    "text": {
        "type": "status",
        "event": "add",
        "status": {
            "created_at": "Mon Nov 26 10:25:38 +0800 2012",
            "id": 3516560159321035,
            "text": "百度新闻 http://t.cn/zjbRppQ (分享自@百度手机浏览器)",
            "source": "<a href=\"http://m.weibo.com/web/cellphone.php#android\" rel=\"nofollow\">Android客户端</a>",
            "favorited": false,
            "truncated": false,
            "in_reply_to_status_id": "",
            "in_reply_to_user_id": "",
            "in_reply_to_screen_name": "",
            "geo": null,
            "mid": "3516560159321035",
            "user": {
                …
            }
        }
    },
    "match_info":{             //匹配信息
        "keyword":"不是",    //匹配上的关键词
        "uid":0              //匹配上的用户ID
    }
}


● reposted statuses:

{
    "id":1211270050711700,
    "text":{
        "type":"status",
        "event":"add",
        "status":{
            "created_at":"Tue Nov 27 18:53:45 +0800 2012",
            "id":3517050414441240,
            "text":"嘴巴//@若狷若癫: 彤姐,打扰啦,实在觉得这张不错。可以@绝爱之城吧",
            "source":"<a href=\"http://weibo.com\" rel=\"nofollow\">新浪微博</a>",
            "favorited":false,
            "truncated":false,
            "in_reply_to_status_id":"",
            "in_reply_to_user_id":"",
            "in_reply_to_screen_name":"",
            "geo":null,
            "mid":"3517050414441240",
            "user":{
                "id":2961958595,
                "screen_name":"吃货懒肥波",
                "name":"吃货懒肥波",
                "province":"100",
                "city":"1000",
                "description":"",
                "url":"",
                "profile_image_url":"http://tp4.sinaimg.cn/2961958595/50/0/1",
                "domain":"",
                "gender":"m",
                "followers_count":0,
                "friends_count":0,
                "statuses_count":0,
                "favourites_count":0,
                "created_at":"Thu Jan 01 08:00:00 +0800 1970",
                "following":false,
                "verified":false
            },
            "retweeted_status":{
                "created_at":"Tue Apr 03 19:20:37 +0800 2012",
                "id":3430808864004946,
                "text":"夫差@鄭嘉穎KC ,奶茶好喝吗?[偷笑]",
                "source":"<a href=\"\" rel=\"nofollow\"></a>",
                "favorited":false,
                "truncated":false,
                "in_reply_to_status_id":"",
                "in_reply_to_user_id":"",
                "in_reply_to_screen_name":"",
                "thumbnail_pic":"http://ww3.sinaimg.cn/thumbnail/631e28bcgw1drmnzfj946j.jpg",
                "bmiddle_pic":"http://ww3.sinaimg.cn/bmiddle/631e28bcgw1drmnzfj946j.jpg",
                "original_pic":"http://ww3.sinaimg.cn/large/631e28bcgw1drmnzfj946j.jpg",
                "geo":null,
                "mid":"3430808864004946",
                "user":{
                    "id":1662920892,
                    "screen_name":"彤姐",
                    "name":"彤姐",
                    "province":"100",
                    "city":"1000",
                    "description":"",
                    "url":"",
                    "profile_image_url":"http://tp1.sinaimg.cn/1662920892/50/0/1",
                    "domain":"",
                    "gender":"m",
                    "followers_count":0,
                    "statuses_count":0,
                    "favourites_count":0,
                    "created_at":"Thu Jan 01 08:00:00 +0800 1970",
                    "following":false,
                    "verified":false
                }
            }
        }
    },
    "match_info":{             //匹配信息
        "keyword":"不是",    //匹配上的关键词
        "uid":0              //匹配上的用户ID
    }
}


● comments:

{
    "id": 1211220000000161,
    "text": {
        "type": "comment",
        "event": "add",
        "comment": {
            "created_at": "Thu Nov 22 14:23:10 +0800 2012",
            "id": 3515170380984186,
            "text": "给力",
            "source": "<a href=\"http://m.weibo.com/web/cellphone.php#mobile\" rel=\"nofollow\">新浪微博手机版</a>",
            "user": {
                
            },
            "mid": "21212112243860601",
            "status": {
                "created_at": "Thu Nov 22 13:53:48 +0800 2012",
                "id": 3515162990652902,
                "text": "本期《音乐新势力》歌曲抢先听: 孙悦《为幸福歌唱》 羽泉《在一起》 王心凌《任性情人》 SHE《心还是热的》 光良《我们的故事》 何洁《Lady Luck》 孙楠《原谅》等。共同期待~~记得准时守候聆听吧。",
                "source": "<a href=\"http://se.360.cn/?fromweibo\" rel=\"nofollow\">360安全浏览器</a>",
                "favorited": false,
                "truncated": false,
                "in_reply_to_status_id": "",
                "in_reply_to_user_id": "",
                "in_reply_to_screen_name": "",
                "geo": null,
                "mid": "3515162990652902",
                "user": {
                    …
                }
            }
        }
    },
    "match_info":{             //匹配信息
        "keyword":"不是",    //匹配上的关键词
        "uid":0              //匹配上的用户ID
    }
}


● comments replied to other comment:

{

    "id":1211220000000093,
    "text":{
        "type":"comment",
        "event":"add",
        "comment":{
            "created_at":"Thu Nov 22 14:23:10 +0800 2012",
            "id":3515170385375151,
            "text":"回复@约瑟夫钓鱼:还有david chiu和Phil Hellmuth",
            "source":"<a href=\"http://weibo.com\" rel=\"nofollow\">新浪微博</a>",
            "user":{
…
},
            "mid":"21212112243861049",
            "status":{
                "created_at":"Thu Nov 22 13:29:33 +0800 2012",
                "id":3515156891956626,
                "text":" @球球X爸 最近有去打比赛吗",
                "source":"<a href=\"http://m.weibo.com/web/cellphone.php#iphone\" rel=\"nofollow\">iPhone客户端</a>",
                "favorited":false,
                "truncated":false,
                "in_reply_to_status_id":"",
                "in_reply_to_user_id":"",
                "in_reply_to_screen_name":"",
                "geo":null,
                "mid":"3515156891956626",
                "user":{
                    "id":1682376180,
                    "screen_name":"约瑟夫钓鱼",
                    "name":"约瑟夫钓鱼",
                    "province":"31",
                    "city":"15",
                    "description":"服装纺织行业工厂开发和资深采购",
                    "url":"http://blog.sina.com.cn/u/1682376180",
                    "profile_image_url":"http://tp1.sinaimg.cn/1682376180/50/5632324738/1",
                    "domain":"robinxing",
                    "gender":"m",
                    "followers_count":503,
                    "friends_count":464,
                    "statuses_count":872,
                    "favourites_count":4,
                    "created_at":"Fri Jan 15 18:04:09 +0800 2010",
                    "following":false,
                    "verified":false
                }
            },
            "reply_comment":{
                "created_at":"Thu Nov 22 14:02:05 +0800 2012",
                "id":3515165075000566,
                "text":"回复@球球X爸:据说陈强泥也去?周末热身了@Moonwalk_Jason",
                "source":"<a href=\"http://m.weibo.com/web/cellphone.php#iphone\" rel=\"nofollow\">iPhone客户端</a>",
                "user":{
                    "id":1682376180,
                    "screen_name":"约瑟夫钓鱼",
                    "name":"约瑟夫钓鱼",
                    "province":"31",
                    "city":"15",
                    "description":"服装纺织行业工厂开发和资深采购",
                    "url":"http://blog.sina.com.cn/u/1682376180",
                    "profile_image_url":"http://tp1.sinaimg.cn/1682376180/50/5632324738/1",
                    "domain":"robinxing",
                    "gender":"m",
                    "followers_count":503,
                    "friends_count":464,
                    "statuses_count":872,
                    "favourites_count":4,
                    "created_at":"Fri Jan 15 18:04:09 +0800 2010",
                    "following":false,
                    "verified":false
                },
                "mid":"21212112242051413",
                "status":{
                    "created_at":"Thu Nov 22 13:29:33 +0800 2012",
                    "id":3515156891956626,
                    "text":" @球球X爸 最近有去打比赛吗",
                    "source":"<a href=\"http://m.weibo.com/web/cellphone.php#iphone\" rel=\"nofollow\">iPhone客户端</a>",
                    "favorited":false,
                    "truncated":false,
                    "in_reply_to_status_id":"",
                    "in_reply_to_user_id":"",
                    "in_reply_to_screen_name":"",
                    "geo":null,
                    "mid":"3515156891956626",
                    "user":{
                        "id":1682376180,
                        "screen_name":"约瑟夫钓鱼",
                        "name":"约瑟夫钓鱼",
                        "province":"31",
                        "city":"15",
                        "description":"服装纺织行业工厂开发和资深采购",
                        "url":"http://blog.sina.com.cn/u/1682376180",
                        "profile_image_url":"http://tp1.sinaimg.cn/1682376180/50/5632324738/1",
                        "domain":"robinxing",
                        "gender":"m",
                        "followers_count":503,
                        "friends_count":464,
                        "statuses_count":872,
                        "favourites_count":4,
                        "created_at":"Fri Jan 15 18:04:09 +0800 2010",
                        "following":false,
                        "verified":false
                    }
                }
            }
        }
    },
    "match_info":{             //匹配信息
        "keyword":"不是",    //匹配上的关键词
        "uid":0              //匹配上的用户ID
    }
}


● error responses:

{
    "error": "subscribe status is not open",
    "error_code": 2111xx
}

See the error code definitions for details.