Facebook icon

Facebook

Facebook Page & Messenger toolkit: Real-time event triggers, AI-ready moderation, interactive messaging, and high-scale media distribution. Made With 💖 By Imran Hossain

Video → Send Video

AI-generated

Summary

Send a video file to a Facebook Messenger user by specifying the recipient's user ID and the video source via URL, binary data from a previous node, or a pre-uploaded attachment ID.

Inputs

  • User's ID (required) — The recipient user's Facebook ID to whom the video will be sent.
  • Send Method (required) — The method to provide the video content: via a public URL, n8n binary data property, or a pre-uploaded attachment ID.
  • Video URL (required) — Public URL of the video to send (required if Send Method is 'URL').
  • Binary Property (required) — Name of the binary property containing the video file (required if Send Method is 'N8n Binary Data').
  • Attachment ID (required) — ID of a pre-uploaded video attachment (required if Send Method is 'Attachment ID').

Output shape

JSON object containing Facebook Messenger API response data reflecting the send message attempt

Returns the JSON response from the Facebook API for each sent video message. The operation handles sending by URL, attachment ID, or binary data. Errors include descriptive Facebook API messages. The recipient ID and proper send method parameters must be specified.

Examples

Example 1: Send a video to a user by public URL

Set resource to 'Video', operation to 'Send Video', specify recipientId and videoUrl with sendMethod set to 'url'.

Example 2: Send a video file from binary data from a previous node

Set sendMethod to 'binary' and specify the binaryPropertyName containing video data.

Example 3: Send a video by a pre-uploaded attachment ID

Set sendMethod to 'attachmentId' and provide the attachmentId string.

Links

Discussion