Actions29
- Posts Actions
- Messages Actions
- Groups Actions
- Users Actions
- Photos Actions
Users → Search Users
AI-generatedOverview
The "Search Users" operation of the "Users" resource in this node allows you to search for VKontakte (VK) users based on a query string. This operation is useful when you want to find VK users matching specific criteria, such as names or other searchable attributes.
Typical use cases include:
- Finding user profiles that match a given name or keyword.
- Automating user lookup processes in social media management workflows.
- Integrating VK user search into broader data enrichment or CRM systems.
For example, you might input a search term like "John Smith" and retrieve a list of VK users whose profiles match that query.
Properties
| Name | Meaning |
|---|---|
| Count | Number of user items to return (default 20). Controls how many users are retrieved per request. |
| Offset | Offset for pagination (default 0). Allows skipping a number of users in the result set, useful for paging through large results. |
These properties control the size and position of the search results returned by the VK API.
Output
The output is a JSON array where each item corresponds to a user object returned by the VK API's user search method. Each JSON object contains user details as provided by VK, which typically include fields like user ID, first name, last name, profile photo URLs, and other public profile information.
No binary data output is produced by this operation.
Dependencies
- Requires an authenticated connection to the VKontakte API using an OAuth2-based API key credential.
- The node uses the VK API base URL
https://api.vk.com/method. - Proper API permissions/scopes must be granted to the API key to perform user searches.
Troubleshooting
- Empty Results: If no users are returned, verify that the search query (
q) parameter is correctly set and that it matches existing VK users. - API Rate Limits: VK API enforces rate limits; excessive requests may lead to temporary blocking. Use the
CountandOffsetparameters wisely to paginate results. - Authentication Errors: Ensure the API key credential is valid and has the necessary permissions.
- Invalid Parameter Errors: Make sure numeric parameters like
CountandOffsetare within acceptable ranges (e.g., non-negative integers). - Network Issues: Check network connectivity and VK API availability if requests fail unexpectedly.
Common error messages will generally come from the VK API and should be handled according to their descriptions, often indicating invalid parameters, authentication failures, or quota exceeded.