Actions12
Zalo User → Lấy Danh Sách Bạn Bè
AI-generatedOverview
This node operation retrieves the friend list of a Zalo user. It is useful for scenarios where you need to access or manage a user's friends on the Zalo platform, such as syncing contacts, analyzing social connections, or automating friend-related tasks.
Use Case Examples
- Fetching all friends of a Zalo user to display in a dashboard.
- Automating friend list updates for a Zalo user in a CRM system.
Properties
| Name | Meaning |
|---|---|
| useSession | Boolean flag to select login method: using userId/Phone (true) or Credential (false). When true, the node uses userId or phone number to login to Zalo, ignoring the credential. |
| connectToId | User ID or Phone number used to login to Zalo when useSession is true. This is required when useSession is true. |
Output
JSON
jsonsuccess- Indicates if the API call was successful.response- The friend list data returned from Zalo API.
Dependencies
- An API key credential or userId/Phone for Zalo login
Troubleshooting
- Ensure that the userId or phone number provided is valid and registered on Zalo.
- If using credentials, verify that the credential is correctly configured and not expired.
- Common errors include login failures due to invalid credentials or network issues; check logs for detailed error messages.
Links
- Zalo Social API - Friend List - Official Zalo API documentation for retrieving friend lists.