Statuses/repost by me/en

跳转到: 导航, 搜索

目录

statuses/repost_by_me

Return the latest N reposted weibo by the authenticating user.

URL

http://api.t.sina.com.cn/statuses/repost_by_me.(json%7Cxml)

Supported Formats

XML/JSON

HTTP Request Method

GET

Requires Authentication

true
See the Authorization Mechanism Statement for authorization details

Requests Count Limitation

true
See the Interface Access Rights Statement for the Request Count Limitaiton details.

Request Parameters

  Requires Type and Range Description
source true string AppKey for the application to identify it. ( This parameter is not needed when using OAuth)
id true int64 User ID. It used to get reposted status list of the user.。
since_id false int64 Returns then weibos with an ID greater than (that is, more recent than) the specified ID
max_id false int64 Return the weibos with an ID smaller than the specified ID.
count false int, default is 20, max is 200. Specify the number of weibos return for one page.
page false iint, default is 1. Specify results page. Based on the number of the authenticating user’s followings and the number of the followings’s weibos, the max number of weibos that page feature can access is different, usually up to about 1000 weibos.

Notes

None

Example Request

XML
curl -u "username:password" "http://api.t.sina.com.cn/statuses/repost_by_me.xml?source=appkey&id=1642466141"
JSON
curl -u "username:password" "http://api.t.sina.com.cn/statuses/repost_by_me.json?source=appkey&id=1642466141"

Response

XML Example

<?xml version="1.0" encoding="UTF-8"?>
<statuses>
  <status>
    <created_at>Wed Dec 01 13:50:19 +0800 2010</created_at>
    <id>3996173251</id>
    <text>@FlashSoft 顺便,你可以看看weibopi.com</text>
    <source>
      <a href="http://weibopi.com">微博派</a>
    </source>
    <favorited>false</favorited>
    <truncated>false</truncated>
    <geo/>
    <in_reply_to_status_id/>
    <in_reply_to_user_id/>
    <in_reply_to_screen_name/>
    <user>
      <id>1642466141</id>
      <screen_name>huchao</screen_name>
      <name>huchao</name>
      <province>11</province>
      <city>8</city>
      <location>北京 海淀区</location>
      <description/>
      <url>http://tuoniao.org</url>
      <profile_image_url>http://tp2.sinaimg.cn/1642466141/50/1285424071/1</profile_image_url>
      <domain>westy</domain>
      <gender>m</gender>
      <followers_count>122</followers_count>
      <friends_count>77</friends_count>
      <statuses_count>0</statuses_count>
      <favourites_count>0</favourites_count>
      <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at>
      <following>false</following>
      <verified>false</verified>
      <allow_all_act_msg>false</allow_all_act_msg>
      <geo_enabled>true</geo_enabled>
    </user>
    <retweeted_status>
      <created_at>Wed Dec 01 12:49:06 +0800 2010</created_at>
      <id>3995833573</id>
      <text>哦也,终于可以了</text>
      <source>
        <a href="http://t.sina.com.cn">新浪微博</a>
      </source>
      <favorited>false</favorited>
      <truncated>false</truncated>
      <geo/>
      <in_reply_to_status_id/>
      <in_reply_to_user_id/>
      <in_reply_to_screen_name/>
      <user>
        <id>1458085847</id>
        <screen_name>FlashSoft</screen_name>
        <name>FlashSoft</name>
        <province>11</province>
        <city>8</city>
        <location>北京 海淀区</location>
        <description>方超 | RIA</description>
        <url>http://i.javascript.cn</url>
        <profile_image_url>http://tp4.sinaimg.cn/1458085847/50/1286032383/1</profile_image_url>
        <domain>sinaria</domain>
        <gender>m</gender>
        <followers_count>433</followers_count>
        <friends_count>559</friends_count>
        <statuses_count>562</statuses_count>
        <favourites_count>20</favourites_count>
        <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at>
        <following>false</following>
        <verified>false</verified>
        <allow_all_act_msg>false</allow_all_act_msg>
        <geo_enabled>true</geo_enabled>
      </user>
    </retweeted_status>
  </status>
  ...
</statuses>

JSON Example

[
    {
        "created_at" : "Wed Dec 01 13:50:19 +0800 2010",
        "text" : "@FlashSoft 顺便,你可以看看weibopi.com",
        "truncated" : false,
        "retweeted_status" : 
        {
            "created_at" : "Wed Dec 01 12:49:06 +0800 2010",
            "text" : "哦也,终于可以了",
            "truncated" : false,
            "in_reply_to_status_id" : "",
            "in_reply_to_screen_name" : "",
            "geo" : null,
            "user" : 
            {
                "name" : "FlashSoft",
                "domain" : "sinaria",
                "geo_enabled" : true,
                "followers_count" : 433,
                "statuses_count" : 562,
                "favourites_count" : 20,
                "city" : "8",
                "description" : "方超 | RIA",
                "verified" : false,
                "id" : 1458085847,
                "gender" : "m",
                "friends_count" : 559,
                "screen_name" : "FlashSoft",
                "allow_all_act_msg" : false,
                "following" : false,
                "url" : "http://i.javascript.cn",
                "profile_image_url" : "http://tp4.sinaimg.cn/1458085847/50/1286032383/1",
                "created_at" : "Fri Aug 28 00:00:00 +0800 2009",
                "province" : "11",
                "location" : "北京 海淀区"
            },
            "favorited" : false,
            "in_reply_to_user_id" : "",
            "id" : 3995833573,
            "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>"
        },
        "in_reply_to_status_id" : "",
        "in_reply_to_screen_name" : "",
        "geo" : null,
        "user" : 
        {
            "name" : "huchao",
            "domain" : "westy",
            "geo_enabled" : true,
            "followers_count" : 122,
            "statuses_count" : 0,
            "favourites_count" : 0,
            "city" : "8",
            "description" : "",
            "verified" : false,
            "id" : 1642466141,
            "gender" : "m",
            "friends_count" : 77,
            "screen_name" : "huchao",
            "allow_all_act_msg" : false,
            "following" : false,
            "url" : "http://tuoniao.org",
            "profile_image_url" : "http://tp2.sinaimg.cn/1642466141/50/1285424071/1",
            "created_at" : "Fri Aug 28 00:00:00 +0800 2009",
            "province" : "11",
            "location" : "北京 海淀区"
        },
        "favorited" : false,
        "in_reply_to_user_id" : "",
        "id" : 3996173251,
        "source" : "<a href=\"http://weibopi.com\" rel=\"nofollow\">微博派</a>"
    },
...
]

Others

NOne