Zalo User icon

Zalo User

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

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

AI-generated

Overview

This node interacts with the Zalo User API to retrieve a list of friends for the authenticated user. It is useful for scenarios where you need to manage or analyze a user's social connections on Zalo, such as fetching friends for marketing campaigns, social analytics, or contact management. For example, you can use this node to get up to a specified limit of friends from a Zalo account.

Use Case Examples

  1. Fetch up to 50 friends from a Zalo user account to analyze social connections.
  2. Retrieve a limited list of friends to display in a custom dashboard or CRM system.

Properties

Name Meaning
Limit Specifies the maximum number of friends to retrieve from the user's friend list.

Output

JSON

  • friends - An array containing the list of friends retrieved from the Zalo user account.

Dependencies

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

Troubleshooting

  • Ensure that the Zalo API credentials are valid and include a proper cookie, IMEI, and user agent; otherwise, the node will fail to authenticate.
  • If the node throws a 'No API instance found' error, verify that the credentials are correctly set and that the login to the Zalo API was successful.
  • If the limit parameter is set too high, the node might return fewer friends than requested if the user has fewer friends available.

Discussion