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 | Users' UID,default as current login user's UID。 |
Notes
none
Response
JSON Example
//Succeed { "uid": 1404376560, "type": 12, "rank": 5, "top_comments": 0 } //Failed { "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:non member,11:one month member,12:one year member,13:monthly pay member,14:semi member,2:expired member;
- rank,Range is 0-6,0:non member,1-6:Six grades of membership;
- top_comments,comments on-top settings,0:no,1:yes,default as 0;
Others
none