â–¸ getUserProfile(): Promise<UserProfileResponse>
description Get user information. The page generates a click event(such as button). Each
request will pop up an authorization window after the user agrees to return userInfo
example
Code
Returns
Promise<UserProfileResponse>
UserProfileResponse
UserProfileResponse
Ƭ UserProfileResponse: Object
Type declaration
| Name | Type |
|---|---|
userInfo | UserInfo |
UserInfo
Ƭ UserInfo: Object
Type declaration
| Name | Type | Description |
|---|---|---|
nickName | string | User's Nickname |
avatarUrl | string | The URL of the user's avatar picture. |
Was this page helpful?
Last modified on