• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Manager_Xiao
博客园    首页    新随笔    联系   管理    订阅  订阅

接口

get起来,以后做一个自己的

新浪接口访问频次最高权限

API V2版接口

微博基础接口

读取接口

statuses/public_timeline 获取最新的公共微博

statuses/friends_timeline 获取当前登录用户及其所关注用户的最新微博

statuses/home_timeline 获取当前登录用户及其所关注用户的最新微博

statuses/user_timeline 获取用户发布的微博

*statuses/timeline_batch 批量获取指定的一批用户的timeline

statuses/repost_timeline 返回一条原创微博的最新转发微博

statuses/repost_by_me 返回用户转发的最新微博

statuses/mentions 获取@当前用户的最新微博

statuses/show 根据ID获取单条微博信息

*statuses/show_batch 批量获取微博信息

statuses/querymid 通过id获取mid

statuses/queryid 通过mid获取id

statuses/hot/repost_daily 按天返回热门转发榜

statuses/hot/repost_weekly 按周返回热门转发榜

statuses/hot/comments_daily 按天返回热门评论榜

statuses/hot/comments_weekly 按周返回热门评论榜

写入接口

statuses/repost 转发一条微博信息

statuses/destroy 删除微博信息

statuses/update 发布一条微博信息

1.新浪API接口目前分为两版,V1和V2. 由于两版的授权不同,且不能相互调用,考

的接口授权

.(详细的接口及接口说明请见下方明细).

2.API接口 V1和V2版,均有访问频次限制,考虑到微旅程应用的一些特殊功能(见备注),

建议在本次谈判中

(最高权限:见下方新浪最高权限说明)

3、在微旅程应用使用初期,最高权限基本满足要求;但在后期用户量不断增长的情况下,可能会出现超

新浪讲好

升级

权限的问题,以便日后方便申请.

备注:

1)微旅程应用的特殊功能:自动生成用户旅程/保存用户旅程/方便用户搜索其他用户的旅程等功能。

2)实现这些特殊功能需要专用的服务器作为中转,此方式涉及到访问频次权限(见下方新浪最高权限说

新浪

API接


statuses/upload 上传图片并发布一条微博

statuses/upload_url_text 发布一条微博同时指定上传的图片或图片url

emotions 获取官方表情

评论接口

读取接口

comments/show 获取某条微博的评论列表

comments/by_me 我发出的评论列表

comments/to_me 我收到的评论列表

comments/timeline 获取用户发送及收到的评论列表

comments/mentions 获取@到我的评论

comments/show_batch 批量获取评论内容

写入接口

comments/create 评论一条微博

comments/destroy 删除一条评论

comments/destroy_batch 批量删除评论

comments/reply 回复一条微博

用户接口

读取接口

users/show 获取用户信息

users/domain_show 通过个性域名获取用户信息

*users/show_batch 批量获取用户信息

关系接口

关注读取接口

friendships/friends 获取用户的关注列表

friendships/friends/in_common 获取共同关注人列表

friendships/friends/bilateral 获取双向关注列表

friendships/friends/bilateral/ids 获取双向关注UID列表

friendships/friends/ids 获取用户关注对象UID列表

*friendships/friends/remark_batch 批量获取关注人备注

粉丝读取接口

friendships/followers 获取用户粉丝列表

friendships/followers/ids 获取用户粉丝UID列表

friendships/followers/active 获取用户优质粉丝列表

关系链读取接口

friendships/friends_chain/followers 获取我的关注人中关注了指定用户

关系状态读取接口

friendships/show 获取两个用户关系的详细情况

写入接口

friendships/create 关注某用户

*friendships/create_batch 批量关注用户

friendships/destroy 取消关注某用户

friendships/remark/update 更新关注人备注

私信接口

读取接口

direct_messages 获取当前用户最新私信列表

direct_messages/sent 获取当前用户发送的最新私信列表

direct_messages/user_list 获取私信往来用户列表

 
 

direct_messages/conversation 获取与指定用户的往来私信列表

direct_messages/show_batch 批量获取私信内容

写入接口

direct_messages/new 发送一条私信

direct_messages/destroy 删除一条私信

direct_messages/destroy_batch 批量删除私信

通知接口

写入接口

notice/app/send 发送一条新的或已有的第三方应用通知

账号接口

读取接口

account/profile/basic 获取用户基本信息

account/profile/education 获取教育信息

*account/profile/education_batch 批量获取教育信息

account/profile/career 获取职业信息

*account/profile/career_batch 批量获取职业信息

account/get_privacy 获取隐私设置信息

account/profile/school_list 获取所有学校列表

account/rate_limit_status 获取当前用户API访问频率限制

account/get_uid OAuth授权之后获取用户UID(作用相当于旧版接口的

account/verify_credentials)

写入接口

account/profile/basic_update 更新用户基本信息

account/profile/edu_update 更新用户教育信息

account/profile/edu_destroy 删除用户教育信息

account/profile/car_update 更新用户职业信息

account/profile/car_destroy 删除用户职业信息

account/avatar/upload 上传头像

account/update_privacy 更新隐私设置

收藏接口

读取接口

favorites 获取当前用户的收藏列表

favorites/show 获取单条收藏信息

favorites/by_tags 获取当前用户某个标签下的收藏列表

favorites/tags 当前登录用户的收藏标签列表

写入接口

favorites/create 添加收藏

favorites/destroy 删除收藏

favorites/destroy_batch 批量删除收藏

favorites/tags/update 更新收藏标签

favorites/tags/update_batch 更新当前用户所有收藏下的指定标签

favorites/tags/destroy_batch 删除当前用户所有收藏下的指定标签

话题接口

读取接口

trends 获取某人话题

 

 
 
 
 
 
posted @ 2015-10-13 14:09  Manager_Xiao  阅读(263)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3