C/2/datapush/status/en

跳转到: 导航, 搜索
第27行: 第27行:
 
             "geo": null,
 
             "geo": null,
 
             "mid": "3516560159321035",
 
             "mid": "3516560159321035",
             "isLongText":false,    //当为true时,表示博文内容超过140字
+
             "isLongText":false,    //true means the length of weibo text exceeds 140 characters
 
             "user": {
 
             "user": {
 
                 …
 
                 …

2016年2月2日 (二) 16:56的版本

datapush/status

Connect the API to get the statuses.

URL

https://c.api.weibo.com/2/datapush/status.json

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

False
See the Login and Authorization Mechanism Statement for login and authorization details.

Requests Count Limitation

None

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth.The value of this parameter is the AppKey.
access_token false string This parameter is required when using OAuth.You will get the access_token after oauth authorization.
subid true int Subscription ID (See the specification for more information).
since_id false long The data ID application hold when disconnected. Weibo Platform will store datas for 5 minutes. Applications can regain datas within 5 minutes since disconnected by since_id parameter.

Notes

Response

JSON Example

{
    "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",
            "isLongText":false,     //true means the length of weibo text exceeds 140 characters
            "user": {
                …
            }
            
        }
    },
    "match_info":{             //匹配信息
        "keyword":"不是",    //匹配上的关键词
        "uid":0              //匹配上的用户ID
    }
}

See the Error Code Description for the error information details.

Field Description

None

Others

None

Language: [[{{{2/uri}}}|中文]]


api评价