Facebook Page Actions icon

Facebook Page Actions

Complete Facebook API integration - Posts, Comments, Messages, Insights & More

Message → Send Image Message

AI-generated

Overview

This node allows sending an image message via Facebook Messenger from a selected Facebook Page to a specified recipient. It is useful for automating communication with users by sending images directly through Messenger, such as promotional images, product photos, or event visuals.

Use Case Examples

  1. Sending a promotional image to a customer who has interacted with your Facebook Page.
  2. Automatically sending an event flyer image to users who inquire about an event via Messenger.

Properties

Name Meaning
Page The Facebook Page from which the image message will be sent. This is selected from the pages connected to the user's Facebook account.
Recipient ID The recipient's Facebook Messenger ID to whom the image message will be sent. This is selected from the list of recipients who have interacted with the page.
Image URL The URL of the image to be sent in the message. The image must be accessible via this URL.

Output

JSON

  • success - Indicates if the image message was sent successfully
  • message - A confirmation message about the sending status
  • messageId - The unique ID of the sent message
  • recipientId - The ID of the recipient who received the message
  • content
    • imageUrl - The URL of the image that was sent

Dependencies

  • Facebook Graph API

Troubleshooting

  • Ensure the Facebook OAuth2 API credentials are valid and have the necessary permissions, including pages_messaging.
  • Verify that the recipient has previously messaged the page; otherwise, messages cannot be sent to them.
  • Check that the image URL is publicly accessible and starts with http:// or https://.
  • Common error messages include invalid access token errors, missing permissions, invalid recipient ID, or inaccessible image URL. Reconnecting the Facebook account or verifying permissions usually resolves these issues.

Links

Discussion