Actions2
- Tin nhắn Actions
Tin nhắn → Gửi tin nhắn ảnh
AI-generatedSummary
Send an image message via Facebook Messenger to a specified recipient using a chosen Facebook Page. Provide the binary image data, recipient ID, and message content to execute the send operation.
Inputs
- binaryInputField (required) — The name of the binary data field containing the image data to send.
- facebook_page_id (required) — The Facebook Page ID from which the message should be sent.
- messenger_friend_id (required) — The Facebook Messenger recipient's user ID.
- messenger_friend_content (required) — The text content accompanying the image message.
Output shape
a list containing a single item with a JSON object indicating success and the API response
The operation returns an array with one element per input item processed, each containing the API response JSON under 'response' and a 'success' flag. Errors are either returned as item errors or thrown to halt execution depending on node settings.
Examples
Example 1: Send an image message with text to a Facebook Messenger user
Set 'binaryInputField' to the binary property with image data (e.g., 'data'), set 'facebook_page_id' to the sending Facebook Page's ID, enter the recipient's 'messenger_friend_id', and provide the 'messenger_friend_content' text to send alongside the image.
