get_user_info
Function
| Function Name | Description | Level |
| get_user_info | Returns user related information | 3,4 |
Input Parameters:
| Name | Type | Required? | Description | Level |
| user_name | byte[] | yes | the user whose info need to be returned. It can be either the request user himself, or someone else. | 3 |
| user_id | String | yes | If the user_name is null in the first parameter, app can pass in user_id in second parameter to request the same information | 4 |
Output Parameters:
| Name | Type | Required? | Description | Level |
| user_id | String | yes | | 4 |
| username | byte[] | yes | User display name | 4 |
| post_count | Int | yes | total number of posts that user has posted | 3 |
| reg_time | Date | yes | dateTime.iso8601 user registration time | 3 |
| timestamp_reg | String | yes | Timestamp of user registration time | |
| last_activity_time | Date | | | 3 |
| timestamp | String | | Timestamp of last activity time | |
| is_online | Boolean | | return true if this user is currently online | 3 |
| accept_pm | Boolean | | return false if this user does not accept private message. | 3 |
| i_follow_u | Boolean | | return true I am following this person. | 4 |
| u_follow_me | Boolean | | return true if this person is following me. | 4 |
| accept_follow | Boolean | | return true if this person allows people to follow him. | 4 |
| following_count | Int | | number of person this user is following to | 4 |
| follower | Int | | number of person following this user | 4 |
| display_text | byte[] | | this field can be returned if there is any other free text should be displayed on the app. | 3 |
| icon_url | String | | user avatar URL | 3. Obsoleted in Level 4 |
| current_activity | byte[] | | If the user is currently online, return what the user is currently doing. (For API level 3, but implemented this key. Changed to be 'current_action' when API level is 4) | 3 |
| current_action | byte[] | | If the user is currently online, return what the user is currently doing. | 4 |
| topic_id | String | | Required if [TOPIC] BBCode is presented in the current_action above. | 4 |
| custom_fields_list | Array of Hash table | | It is an expandable field allowing the Tapatalk app to display as many as user information in name/value value. | 3 |
| name | byte[] | yes | | 3 |
| value | byte[] | yes | | 3 |
| update_fields_list | Array of Hash table | | It is an expandable field allowing the Tapatalk app to update user profile | 3 |