Skip to content

statuses.delete.rest

lisztli edited this page Apr 26, 2012 · 2 revisions

#DELETE /statuses/:statusid

删除指定的消息

##路径

http://rest.fanfou.com/statuses/:statusid

##调用方法

DELETE

##参数:

    |作用       |格式       |字段说明

--------|-----------|-----------|------------ :statusid |指定消息id| |必选

##返回值:

返回消息内容

  • 使用方法
curl -X DELETE "rest.fanfou.com/statuses/20120036?oauth_token=oauth_token" | python -mjson.tool
  • 返回值
{
    "created_at": "Wed Apr 25 07:32:06 +0000 2012", 
    "favorited": "false", 
    "id": 20120036, 
    "text": "@marcher\u55ef\u54fc ppp", 
    "user": {
        "created_at": "Sat May 12 15:58:58 +0000 2007", 
        "description": "my_desc", 
        "favourites_count": 72, 
        "followed": false, 
        "followers_count": 622, 
        "following": false, 
        "friends_count": 154, 
        "id": 113412, 
        "location": "Peking", 
        "profile_image_url": "http://avatar.lcff.com/s0/00/3e/r4.jpg?1334140470", 
        "profile_image_url_large": "http://avatar.lcff.com/l0/00/3e/r4.jpg?1334140470", 
        "protected": false, 
        "screen_name": "\u7a46\u8363\u5747\u5747\u5747", 
        "statuses_count": 6646, 
        "url": "moon", 
        "website": "http://nimei.org"
    }, 
    "wid": "1jCgMqSiYaY"
}
Clone this wiki locally