Yeah, I’ve used that already to get the attachment link. However I want to give that link to the Facebook Graph API to post the picture, and therefore need to execute that HTTP request, as the “normal” attachment links are only accessible when logged in. That curl request is supposed to generate a download link that’s valid for one hour (without any login needed), which would be the correct thing to use in my case.
But I’m having problems to “convert” that curl function to a normal HTTP Request…
The -H is a header so you would need to put that in the header options. As it is oauth though you could configure the oauth credential type and see if that works for you.
I was now able to create the link with the authorization in the header and get the picture as a file.
However, I need to upload it to Google Drive to get a link to the image which I can give to the Graph API.
When trying to do so, I always get a 403 Error. I used the OAuth method and entered everything correctly. It showed me a green box with “Connected successfully”. Any idea on what I did wrong?
I already set the option to fetch a binary file.
After some more digging through the forum, I was able to find the issue:
I didn’t have the Google Drive API enabled for my project.
Got everything working now!