C/2/datapush/status

跳转到: 导航, 搜索
(以“{{Api_desc_business_en| uri=datapush/status| desc=Connect the API to get the statuses.| httpMethod=GET| needAuth=False| rateLimit=None| params={{api_args|subid|true|...”为内容创建页面)
 
第36行: 第36行:
 
}</pre>|
 
}</pre>|
 
resultDes=None|
 
resultDes=None|
useAge=*Use the url: http://180.149.153.38/datapush/status or http://180.149.153.39/datapush/status to call the API.
+
useAge=*Use the url: http://180.149.153.38/datapush/status or http://180.149.153.39/datapush/status to call the API.The url: https://c.api.weibo.com/2/datapush/status.json is invalid.
 
*The IP address to call the API must be one of the IP list provided when created the subscription. Otherwise, the error response ‘Ip is limited’ will be returned.
 
*The IP address to call the API must be one of the IP list provided when created the subscription. Otherwise, the error response ‘Ip is limited’ will be returned.
 
*Parameter 'source' and 'access_token' are not needed to pass.  |
 
*Parameter 'source' and 'access_token' are not needed to pass.  |
 
otherInfo=None
 
otherInfo=None
 
}}{{#a:showgrade}}
 
}}{{#a:showgrade}}

2013年10月12日 (六) 12:09的版本

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 description 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

//Success
{
    "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": {
                …
            },
            
        }
    }
}

See the Error Code Description for the error information details.

Field Description

None

Others

None

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


api评价