Rest API
新浪微博 Rest API文档
目录 |
获取下行数据集(timeline)接口
- statuses/public_timeline 最新公共微博
- statuses/friends_timeline 最新关注人微博 (别名: statuses/home_timeline)
- statuses/user_timeline 用户发表微博列表
- statuses/mentions 最新 @用户的
- statuses/comments_timeline 最新评论(按时间)
- statuses/comments_by_me 发出的评论
- statuses/comments 单条评论列表(按微博)
- statuses/counts 批量获取一组微博的评论数及转发数
- statuses/unread 获取Web未读消息数(beta)
微博访问接口
- statuses/show 获取单条
- user/status/id 跳转到微博
- statuses/update 发表微博
- statuses/upload 发表微博及图片
- statuses/destroy 删除
- statuses/repost 转发
- statuses/comment 评论
- statuses/comment_destroy 删除评论
- statuses/reply 回复评论
用户接口
- users/show 个人资料
- statuses/friends 关注人列表
- statuses/followers 粉丝列表
私信接口
- direct_messages 我的私信列表
- direct_messages/sent 我发送的私信列表
- direct_messages/new 发送私信
- direct_messages/destroy 删除一条私信
关注接口
- friendships/create 关注某用户
- friendships/destroy 取消关注
- friendships/exists 是否关注某用户(推荐使用friendships/show)
- friendships/show 是否关注某用户
Social Graph接口
- friends/ids 关注列表
- followers/ids 粉丝列表
账号接口
- account/verify_credentials 验证身份是否合法
- account/rate_limit_status 查看当前频率限制
- account/end_session 退出
- account/update_profile_image 更改头像
- account/update_profile 更改资料
- account/register 注册新浪微博帐号
收藏接口
- favorites 收藏列表
- favorites/create 添加收藏
- favorites/destroy 删除收藏