facebook graph api for instagram requires image_url. It works fine wiht Dalle2,3 beacause open ai image creater provides URL .
However, this is not available for Open Image1 and requires to perform multiple steps like
Get binary image
upload it somewhere
retrive that image using direct url
Provide that direct URL in to graph API.
Somehow, graph api is not accepting URL from anywhere. I tried google drive, dropbox , imgbb , imgur.
Such a simple steps causing too much stress and consuming time.
I thought of writing this down on one post so people don’t waste their time using any of above method. Also,
it would be great if n8n can clean up/ remove old solution provided by many which is not relevant anymore.
lastly does any one have managed to find solution of this problem.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
I feel you, bro! @blackpearl21 You’re trying to use the Facebook Graph API for Instagram, and it’s requiring an image URL. DALL-E 2 and 3 make it easy since they provide a URL, but Open Image1 doesn’t. You’re having to jump through hoops to get the image URL, and even then, the Graph API isn’t accepting URLs from various sources like Google Drive, Dropbox, ImgBB, or Imgur.
I’ve seen people struggle with this before. One potential solution is to use a service that hosts images and provides a direct URL. You could try using a cloud storage service like AWS S3 or Google Cloud Storage. They usually provide a direct URL to the image once it’s uploaded.
Another option is to use a node in n8n that can handle image uploads and provide a direct URL. Maybe there’s a node that can upload the image to a hosting service and return the URL?
As for n8n cleaning up old solutions, that’s a good point. n8n’s community-driven, so if you’ve found a solution that works, you can share it with others. Maybe we can even create a template or a workflow that simplifies this process for everyone.
If you’ve found a solution or have any updates, please share! I’m sure others would appreciate it.