Zalo User icon

Zalo User

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

User → Lấy danh sách lời mời kết bạn đã nhận

AI-generated

Overview

This node interacts with the Zalo User API to manage various user-related operations on the Zalo platform. Specifically, for the operation 'Lấy danh sách lời mời kết bạn đã nhận' (Get received friend requests), it fetches the list of friend requests that the user has received. This is useful for automating the management of friend requests, such as reviewing or processing incoming requests in bulk.

Use Case Examples

  1. Automatically retrieve and process all received friend requests to decide which to accept or ignore.
  2. Integrate with other workflows to notify users about new friend requests or to log them for record-keeping.

Output

JSON

  • status - Operation status, e.g., 'Thành công' for success or 'Lỗi' for error.
  • friendRequests - Array containing the list of received friend requests with their details.

Dependencies

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

Troubleshooting

  • Ensure valid Zalo API credentials are provided; invalid or expired credentials will cause authentication failure.
  • If the API returns an error, check the error message for details and ensure the user has permission to access friend request data.
  • Network issues or API downtime can cause request failures; retry or check connectivity if errors occur.

Discussion