C/2/members/show/biz-en
members/show
Return membership status.
URL
https://c.api.weibo.com/2/members/show.json
Supported Formats
JSON
HTTP Request Method
GET
Login Requirement
true
See Login and Authorization for details.
Authorized Access Limitation
Request for all the business API:
- 50000 times per hour per IP;
- 50000 times per hour per IP;
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey. |
access_token | false | string | This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth. |
uid | false | int64 | 用户UID,不传时默认为当前登录用户的UID。 |
Notes
无
Response
JSON Example
//成功返回 { "uid": 1404376560, "type": 12, "rank": 5, "top_comments": 0 } //失败返回 { "request": "/2/members/show.json", "error_code": "240XX", "error": "error message." }
Please see Error Code Description for details of error information.
Field Description
- 返回值type,0:非会员,11:月付,12:年付,13:包月付,14:准会员,2:过期会员;
- 返回值rank,取值范围是0-6,0:非会员,1-6:代表会员的六个等级;
- 返回值top_comments,评论置顶设置,0:没设置,1:设置了,默认值为0;
Others
无