Zalo Người dùng by diginno.net icon

Zalo Người dùng by diginno.net

Quản lý người dùng Zalo by diginno.net

Hệ Thống → Lấy Trạng Thái Hoạt Động

AI-generated

Overview

This node operation "Lấy Trạng Thái Hoạt Động" (Get Last Online Status) in the "Hệ Thống" (System) resource is designed to check the last online status of a specified user on the Zalo platform. It requires the user ID as input and interacts with the Zalo API to retrieve the user's activity status. This operation is useful for scenarios where monitoring user activity or presence is needed, such as in customer support, social media management, or user engagement tracking.

Use Case Examples

  1. Check if a user with a given ID is currently online or when they were last active on Zalo.
  2. Monitor user activity status for automated workflows that depend on user presence.

Properties

Name Meaning
ID Người Dùng The user ID of the person whose last online status is to be checked. This is a required string input.

Output

JSON

  • json
    • status - The status of the API call, indicating success or failure.
    • userId - The user ID for which the last online status was requested.
    • lastOnline - The timestamp or status indicating the last time the user was online.
    • response - The raw response data from the Zalo API regarding the user's last online status.

Dependencies

  • Requires valid Zalo API credentials (cookie, imei, userAgent) to authenticate and interact with the Zalo platform.

Troubleshooting

  • If the node throws a 'No API instance found' error, ensure that valid Zalo API credentials are provided and correctly configured.
  • Errors related to invalid user IDs or API request failures may occur; verify the user ID input and network connectivity.
  • If the API response is empty or malformed, check the Zalo API service status and credentials validity.

Links

Discussion