I’m encountering an issue while using the Google Drive WebContentLink URL as ‘image_url’ in the Facebook Graph API Node. The error message I receive is: “Only photo or video can be accepted as a media type.” It seems that Meta does not permit redirect image URLs like those provided by Google Drive. I’m curious about how can i manage to pass this without encountering errors. The image I’m using is less than 1MB and fits the Instagram aspect ratio.
I had been using Google Drive the same way as you, and it was working until recently. Currently, I am able to use it to post to Facebook, but not to Instagram. I’m getting the same error as you. I don’t know what changed in the last couple of weeks to cause this.
It seems that the issue is because the file coming from Google Drive does not appear to be an image file with a typical image file extension. I ended up resolving the problem by posting the image to my website’s server, using an HTTP node to call the graph API, and then deleting the image from my server.
Hello everyone,
I’m facing the same issue — Google Drive and Airtable aren’t working for me either.
Has anyone found an alternative way to dynamically load files into the Graph API node?
I’ve also tried the “Send Binary File” option from @Vietnam_Road, but it still throws an error saying that image_url is required.
Any suggestions or workarounds would be greatly appreciated!
Hi again and to anyone who’s run into the same issue and found this post!
I’ve built a workaround that makes it work now. You need to run an automation in Airtable that converts the URL link into a file in a new column after the record where created. After that, you can use the “Get a record” node to take Airtable’s own file URL that can be placed in the Graph API as the image_url, effectively bypassing the Drive URL. Everything works perfectly now!