Skip to main content
Version: Next

UserInfo

The user information.

Reference

Methods

PropertyTypeDescription
avatarUrlstringThe URL to the user's profile photo. The last numeric value represents the size of a square profile photo. (The value can be 0, 46, 64, 96, or 132. The value 0 represents a 640x640 square profile photo, the value 46 indicates a 46x46 square profile photo, and so on. The default value is 132.) This parameter is left blank if a user has no profile photo. If the user changes the profile photo, the URL of the original profile photo will expire.
citystringThe user's city.
countrystringThe user's country.
gender0 | 1 | 2The user's gender.
language"en" | "zh_CN" | "zh_TW"The language used to display the country, province, and city
nickNamestringThe user's alias.
provincestringThe user's province.

Parameters

language

PropertyType
en"English"
zh_CN"Simplified Chinese"
zh_TW"Traditional Chinese"

gender

PropertyType
0"Unknown"
1"Male"
2"Female"