Google Drive Image URL Issue with Facebook Graph API Node

Hi everyone,

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.

Has anyone experienced a similar problem or have any suggestions for a workaround?

Thanks in advance!

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.

1 Like

Also encountering the same Issue

1 Like

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.

1 Like

Hi, I noticed the same issue. I recommend using Airtable instead of Google Drive — it should work then.

Is that currently working for you? I tried that, but it had the same issue.

1 Like

Using Google Drive node to download image to binary file, in Facebook node, turn on “Send Binary File”