Actions72
- Pages Actions
- Posts Actions
- Groups Actions
- Events Actions
- Insights Actions
- Marketing/Ads Actions
- Videos Actions
- Messaging Actions
- Shop/Catalog Actions
- Lead Ads Actions
- Webhooks Actions
Pages → Create Photo Post
AI-generatedOverview
This node enables creating a photo post on a specified Facebook Page using the Facebook Graph API. It is useful for automating social media content publishing workflows where you want to share images directly to your Facebook Pages without manual intervention. For example, marketers can schedule and publish promotional photos, event organizers can share event-related images, or businesses can post product photos automatically.
Properties
| Name | Meaning |
|---|---|
| Page ID | The unique identifier of the Facebook Page where the photo post will be created. |
| Photo URL | The direct URL of the photo image that you want to post on the Facebook Page. |
| Message | (Optional) A text message or caption to accompany the photo in the post. |
(Note: The "Message" property is used in the code when creating a photo post, although it was not explicitly listed in the provided properties JSON snippet.)
Output
The node outputs JSON data representing the response from the Facebook API after creating the photo post. This typically includes details about the newly created post such as its ID and status. The output is structured as an array of items, each containing a json field with the API response.
The node does not output binary data.
Dependencies
- Requires a valid Facebook API authentication token via configured credentials.
- Requires an active subscription and valid API key for the external N8N Tools API service used for validation.
- The node uses the Facebook Graph API v23.0 endpoints internally.
- Proper permissions/scopes must be granted to the Facebook access token to create posts on the target page.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential for the external N8N Tools API is correct and active.
- Permission Errors: Facebook API may return permission errors if the access token lacks required scopes to post on the page. Ensure the token has
pages_manage_postsor equivalent permissions. - Invalid Page ID or Photo URL: Errors may occur if the Page ID is incorrect or the photo URL is inaccessible or invalid. Double-check these inputs.
- Network Issues: Connectivity problems between n8n and Facebook or the external API can cause failures; ensure network access is stable.
- Continue On Fail: The node supports continuing execution on failure for individual items, allowing partial success in batch operations.