Facebook Pages : Create Multi Image Post from a public Google Drive folder
Status: Open · Asked by laportejo on · 0 views
Hi,
I have a workflow to create a multi image post for Facebook.
And I try to post images from a public Google Drive folder.
But I have this error :
Label
Value
Res1 Data 0 Method
POST
Res1 Data 0 Name
IMAGE_0
Res1 Data 0 Relative Url
328035733717731/photos
Res1 Data 0 Body
url=https://drive.google.com/uc?export=view&id=1GuednKEDzufsm51oX_KTImHtRHv8nL2T&published=false
Res1 Data 1 Method
POST
Res1 Data 1 Name
IMAGE_1
Res1 Data 1 Relative Url
328035733717731/photos
Res1 Data 1 Body
url=https://drive.google.com/uc?export=view&id=1E7j-UMZhZufJpwimdVwtytrxSd67SvVC&published=false
Res1 Data 2 Method
GET
Res1 Data 2 Relative Url
?ids={result=IMAGE_0:id},{result=IMAGE_1:id}
Res1 Data 3 Method
POST
Res1 Data 3 Name
PUBLISH
Res1 Data 3 Relative Url
328035733717731/feed
Res1 Data 3 Body
attached_media=%5B%7B%22media_fbid%22:%22%7Bresult=IMAGE_0:id%7D%22%7D,%7B%22media_fbid%22:%22%7Bresult=IMAGE_1:id%7D%22%7D%5D&message=images
Res2 Result Uploded Media Fbids Error Message
Invalid token: "328035733717731". An ID has already been specified.
Res2 Result Uploded Media Fbids Error Type
OAuthException
Res2 Result Uploded Media Fbids Error Code
2500
Res2 Result Uploded Media Fbids Error Fbtrace Id
AER5Y12A6uMX37Z4YXjQMaF
Res2 Result Page Post Details Error Message
Invalid token: "328035733717731". An ID has already been specified.
Res2 Result Page Post Details Error Type
OAuthException
Res2 Result Page Post Details Error Code
2500
Res2 Result Page Post Details Error Fbtrace Id
AVT2D4igjs-ayuoW2AeTCfZ
Do you know what the problem is ?
Thanks!
Hi @laportejo,
Facebook doesn't allow images to be uploaded through Google Drive URLs. You have to provide a direct link to the image, such as this one: https://fastly.picsum.photos/id/772/200/200.jpg?hmac=9euSj4JHTPr7uT5QWVmeNJ8JaqAXY8XmJnYfr_DfBJc
Only then will the images be uploaded to Facebook.
Hi @ArshilAhmad ,
Thanks for your answer.
But Facebook does allow image for the action event "Create Page Photo Post". I have a script that work very well with a public Google Drive URL.
Should I understand that Google URLs don't work for the specific event "Create Multi Image Post" ?
Yes, it's specific to the 'Create Multi Image Post' action event. You can try uploading the file to Imgur to convert the Google Drive link into a link that contains the file extension. Then, you can use the link you received through Imgur in 'Create Multi Image Post' step.