2/account/get uid/en
account/get_uid
After OAuth authorization, return the user ID of the authenticating user.
URL
https://api.weibo.com/2/account/get_uid.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:Normal
Count Limitation:false
See the Interface Access Rights Statement for the request count limitation details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
Notes
- 1. After OAuth authorization, return the user ID of the authenticating user.The same function as (account/verify_credentials)
- 2. This API has no rate limitation.
Response
JSON Example
{ "uid":"3456676543" }
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 2012-01-12