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

ẢNh ĐạI Diện → Lấy URL Avatar

AI-generated

Overview

This node operation retrieves the avatar URL of a specified user from the Zalo platform. It supports fetching either the default avatar or the maximum size avatar based on user input. This is useful in scenarios where you need to display or process user profile images, such as in CRM systems, social media integrations, or user profile management workflows.

Use Case Examples

  1. Fetch the default avatar URL of a user by providing their user ID.
  2. Fetch the maximum size avatar URL of a user by setting the avatar size option to true.

Properties

Name Meaning
ID Người Dùng The user ID of the person whose avatar URL is to be retrieved.
Kích Thước Tối Đa Boolean flag to determine if the avatar URL should be for the maximum size avatar (true) or the default size avatar (false).

Output

JSON

  • status - Status of the avatar URL retrieval operation.
  • userId - The user ID for which the avatar URL was fetched.
  • avatarUrl - The URL of the user's avatar image.

Dependencies

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

Troubleshooting

  • Ensure that valid Zalo API credentials are provided; otherwise, the node will throw an error indicating no API instance found.
  • If the user ID is invalid or the user does not exist, the node may return an error or empty response.
  • Network issues or API changes on Zalo's side may cause failures; verify connectivity and API status.

Links

Discussion