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 → Xóa Ảnh Đại Diện

AI-generated

Overview

This node operation deletes one or multiple avatar photos on the Zalo platform by their IDs. It is useful for managing and cleaning up user profile images programmatically, such as removing outdated or unwanted avatars in bulk by specifying their IDs.

Use Case Examples

  1. Deleting a single avatar photo by providing its ID.
  2. Deleting multiple avatar photos by providing a comma-separated list of photo IDs.

Properties

Name Meaning
Danh Sách ID ẢNh ID or list of IDs of the avatar photos to delete, separated by commas.

Output

JSON

  • status - Status code of the delete operation, indicating success or failure.
  • photoId - The ID of the photo that was requested to be deleted.
  • message - A message describing the result of the delete operation.
  • response - The raw response from the Zalo API after attempting to delete the avatar photo.

Dependencies

  • Requires valid Zalo API credentials including cookie, imei, and userAgent for authentication.

Troubleshooting

  • Ensure the photo IDs are correctly formatted and exist on the Zalo account.
  • Verify that the Zalo API credentials are valid and have the necessary permissions.
  • Common error messages include invalid credentials or exceeding the maximum number of photo IDs allowed (50).
  • If the node throws an error about missing API instance, check that credentials are properly set up.

Links

Discussion