Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation retrieves the profile picture of a specified contact in a WhatsApp-like system. It is useful for scenarios where you need to display or process the profile image of a contact, such as in customer support dashboards, contact management systems, or social media integrations.
Use Case Examples
- Fetching a user's profile picture to display in a chat application.
- Retrieving contact images for a CRM system to enhance user profiles.
Properties
| Name | Meaning |
|---|---|
| Session | The session identifier used to authenticate and route the request to the correct WhatsApp session. |
| Contact Id | The unique identifier of the contact whose profile picture is to be retrieved. |
| Request Options | Additional options to control the request behavior, such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
profilePictureUrl- URL or data of the retrieved profile picture of the contact.
Dependencies
- Requires an API key or session token to authenticate the WhatsApp session.
Troubleshooting
- Ensure the session token is valid and active; invalid sessions will cause authentication errors.
- Verify the contact ID format is correct; incorrect IDs will result in not found errors.
- If using a proxy, confirm the proxy settings are correct and accessible.
- Timeout errors may occur if the server is slow or unresponsive; consider increasing the timeout value.
- SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this is insecure and should be used cautiously.