2/account/get uid/en
Xuezheng (讨论 | 贡献)
(Created page with '{{api_desc_v2_en| uri=account/get_uid| desc=After OAuth authorization, return the user ID of the authenticating user.| httpMethod=GET| needAuth=true| level={{Api_L1_en}}| rateLim…')
下一编辑→
(Created page with '{{api_desc_v2_en| uri=account/get_uid| desc=After OAuth authorization, return the user ID of the authenticating user.| httpMethod=GET| needAuth=true| level={{Api_L1_en}}| rateLim…')
下一编辑→
2012年1月12日 (四) 14:58的版本
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. It has no rate limitation.
Response
JSON Example
{ "uid":"3456676543" }
See the Error Code Description for the error information details.
Field Description
None
Others
None