Zalo User icon

Zalo User

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

User → Lấy danh sách bạn bè

AI-generated

Overview

This node interacts with the Zalo API to manage Zalo user-related operations. Specifically, for the 'User' resource and the 'Lấy danh sách bạn bè' (Get all friends) operation, it retrieves a list of friends from the authenticated Zalo account. The node supports limiting the number of friends returned, making it useful for scenarios where you want to fetch and process a subset of a user's friend list, such as for marketing, analysis, or contact management.

Use Case Examples

  1. Fetch up to 50 friends from a Zalo account to analyze social connections.
  2. Retrieve a limited list of friends to send targeted messages or notifications.

Properties

Name Meaning
Limit The maximum number of friend results to return. This controls how many friends are fetched from the Zalo account, allowing you to limit the data volume for processing.

Output

JSON

  • friends - An array containing the list of friends retrieved from the Zalo account, limited by the 'Limit' parameter.

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 was found.
  • If the friend list is empty or fewer than expected, verify the 'Limit' parameter and the actual friend count in the Zalo account.
  • Network or API errors may occur; enabling 'Continue On Fail' can help handle partial failures gracefully.

Discussion