codedao12 - Zalo User icon

codedao12 - Zalo User

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

Zalo User → Lấy Danh Sách Gợi Ý Kết Bạn

AI-generated

Overview

This node operation fetches a list of friend suggestions (recommended friends) for a Zalo user. It is useful for scenarios where you want to get potential new friends to connect with on Zalo, such as in social networking or marketing automation workflows. For example, it can be used to display friend recommendations or to automate sending friend requests to suggested users.

Use Case Examples

  1. Retrieve a list of friend suggestions for a logged-in Zalo user to display in a user interface.
  2. Use the friend suggestions to automate sending friend requests to potential contacts.

Properties

Name Meaning
useSession Boolean flag to indicate whether to use userId/Phone to login Zalo instead of a credential.
connectToId User ID or Phone number used to login Zalo when useSession is true.

Output

JSON

  • json
    • success - Indicates if the API call was successful.
    • response - The list of friend suggestions returned by the API.

Dependencies

  • An API key credential or user session information for Zalo authentication.

Troubleshooting

  • Ensure that the user is properly authenticated with Zalo using either a credential or userId/Phone login.
  • Check that the connectToId property is correctly set when useSession is true.
  • Verify network connectivity to the Zalo API endpoints.
  • Handle API errors such as invalid credentials or rate limiting by retrying or logging errors.

Links

Discussion