Skip to content
Airtable to Faceboo...
 
Notifications
Clear all

Airtable to Facebook Page post with image

11 Posts
3 Users
0 Reactions
3 Views
Rupom_Rahman
(@rupom_rahman)
Posts: 5
Active Member
Topic starter
 

I'm attempting to automate Facebook posts using Airtable. While I can successfully post text, I'm encountering an issue when trying to include photos from Airtable with the post.

Can anyone offer some assistance?

 
Posted : 22/06/2024 8:47 pm
Benjamin_from_Make
(@benjamin_from_make)
Posts: 35
Eminent Member
 

Hello. Welcome to the callin.io community!

Could you please elaborate on what you aim to accomplish?

  • Are you looking to create one post for each record in Airtable?
  • Does each post contain only one image, or do you intend to include multiple images per post?
  • Which fields from Airtable are you utilizing? Is the 'image' field the one containing the image you wish to add to the Facebook post? Is it a binary image or a URL?

Thanks

Benjamin

 
Posted : 23/06/2024 9:26 am
Rupom_Rahman
(@rupom_rahman)
Posts: 5
Active Member
Topic starter
 

Thank you for your response.

  1. Yes, I intend to post a single record per submission.
  2. Initially, I plan to post a single image, but I'm looking to enable multiple image uploads in the future.
  3. I've attached an image of my Airtable setup for your review. I'm not entirely sure I understand your question. I have two fields: one for text and another for images. I've uploaded images into the image field, so I believe it's being treated as a binary file.

I hope to receive a solution shortly.

Thanks in advance.

 
Posted : 23/06/2024 9:47 am
Benjamin_from_Make
(@benjamin_from_make)
Posts: 35
Eminent Member
 

I conducted a test, and it turns out the image is a URL, not a binary file. This detail is important as it guides the Facebook configuration.

Let's assume for now that you're posting only one image per post. Handling multiple images is more complex and would require using an Iterator and an Aggregator.

Here's an example I just put together:

This is my Airtable data (I'll use "Name" for the post title):

As you can see here, I have an array named "image" with a URL field:

This is how I configured Facebook. Assuming there's only one image, when I drag and drop the URL, it maps to "image:URL". By default, callin.io uses index 1 (the first and only image).

These are the resulting posts:

:slight_smile:

Would you like to give it a try?

If your Airtable records contain multiple images and you wish to include all of them in a post, you'll need to iterate through the image array and aggregate them in the format Facebook expects. This is more complex but entirely achievable.

 
Posted : 23/06/2024 10:18 am
Rupom_Rahman
(@rupom_rahman)
Posts: 5
Active Member
Topic starter
 

I'm encountering an error with my current Scenario setup!

:frowning:

Could someone please assist me with this issue?

 
Posted : 23/06/2024 10:49 am
Benjamin_from_Make
(@benjamin_from_make)
Posts: 35
Eminent Member
 

I don't see any errors here! However, to be certain, are you testing using "Run Once" which is located in the bottom-left corner of the scenario, or are you using "run this module only"?

It's recommended to test by running the entire scenario.

The Watch records can be reset by right-clicking on them and selecting "choose where to start".

 
Posted : 23/06/2024 10:56 am
Rupom_Rahman
(@rupom_rahman)
Posts: 5
Active Member
Topic starter
 

My scenario doesn't seem to do anything when I run it.

 
Posted : 23/06/2024 10:59 am
Benjamin_from_Make
(@benjamin_from_make)
Posts: 35
Eminent Member
 

The « Watch » modules are designed to retrieve only new records. As you've already tested the module, it won't return items that have already been processed. Therefore, you should utilize the « choose where to start » option I previously explained.

 
Posted : 23/06/2024 11:00 am
Rupom_Rahman
(@rupom_rahman)
Posts: 5
Active Member
Topic starter
 

Great! It's functioning now. Thanks!

 
Posted : 23/06/2024 11:02 am
Benjamin_from_Make
(@benjamin_from_make)
Posts: 35
Eminent Member
 

I haven't tested this myself, but I assume it functions. However, it appears to operate slightly differently, featuring a "upload a video" module. This module doesn't seem to be connected to any posts, suggesting it handles video uploads in a manner distinct from image posts.

 
Posted : 23/06/2024 11:18 am
Msquare_Automation
(@msquare_automation)
Posts: 88
Estimable Member
 

Glad to hear that the issue is resolved now.

 
Posted : 26/06/2024 2:43 pm
Share: