Zalo User icon

Zalo User

Quản lý người dùng Zalo

User → Xem thời gian hoạt động gần nhất

AI-generated

Overview

This node interacts with the Zalo platform to manage user-related operations. Specifically, for the 'User' resource and the 'Xem thời gian hoạt động gần nhất' (View last online time) operation, it retrieves the last online time of a specified Zalo user. This is useful for scenarios where you want to monitor user activity or check when a user was last active on Zalo.

Use Case Examples

  1. Checking the last online time of a friend or contact to see if they are currently active.
  2. Monitoring user activity for customer support or engagement purposes.

Output

JSON

  • status - Operation status, e.g., 'Thành công' for success or 'Lỗi' for error.
  • lastOnline - The last online time information of the specified user.

Dependencies

  • Requires Zalo API credentials including cookie, IMEI, and user agent for authentication.

Troubleshooting

  • Ensure valid Zalo API credentials are provided; otherwise, the node will throw an error indicating no API instance found.
  • If the user ID parameter is missing or invalid, the operation to fetch last online time will fail.
  • Network or API errors from Zalo may cause the operation to fail; check error messages for details.

Discussion