2/statuses/friends timeline/ids/en

跳转到: 导航, 搜索
(Created page with '{{api_desc_v2_en| uri=statuses/friends_timeline/ids| desc=Return the latest weibos'ID of the authenticating user and his friends.| httpMethod=GET| needAuth=true| level=normal| ra…')
 
第11行: 第11行:
 
{{api_args|page|false|int|The returned page.The default value is 1.}}
 
{{api_args|page|false|int|The returned page.The default value is 1.}}
 
{{api_args|base_app|false|int|Whether get the data based on current application only. 1 is only current application; 0 is no limitation. The default value is 0. }}
 
{{api_args|base_app|false|int|Whether get the data based on current application only. 1 is only current application; 0 is no limitation. The default value is 0. }}
{{api_args|feature|false|int|Returns the weibos'ID by weibo type. 0 is all type. 1 is original. 2 is picture. 3 is video. 4 is music.The default value is 0. }}|
+
{{api_args|feature|false|int|Returns the weibos'ID by weibo type. 0 : all types; 1 : original; 2 : picture; 3 : video; 4 : music; The default value is 0. }}|
 
result=
 
result=
 
<pre>
 
<pre>

2011年12月26日 (一) 13:42的版本

statuses/friends_timeline/ids

Return the latest weibos'ID of the authenticating user and his friends.

URL

https://api.weibo.com/2/statuses/friends_timeline/ids.json

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

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

Requests Count Limitation

Level:normal
Count Limitation:true
See the Interface Access Rights Statement for the request count limitation details.

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.
since_id false int64 Returns the weibos'ID with the ID greater than (that is, more recent than) the specified ID,the default value is 0.
max_id false int64 Returns the weibos'ID with the ID smaller than the specified ID or equal with the specified ID,the default value is 0.
count false int The returned count for every page.The default value is 50.
page false int The returned page.The default value is 1.
base_app false int Whether get the data based on current application only. 1 is only current application; 0 is no limitation. The default value is 0.
feature false int Returns the weibos'ID by weibo type. 0 : all types; 1 : original; 2 : picture; 3 : video; 4 : music; The default value is 0.

Notes

None

Response

JSON Example

{
    "statuses": [
        "3382905382185354",
        "3382905252160340",
        "3382905235630562",
        ...
    ],
    "previous_cursor": 0,
    "next_cursor": 0,
    "total_number": 16
}

See the Error Code Description for the error information details.

Field Description

None

Others

None



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