Skip to main content
Best answer

Post Photo in Facebook Groups from Google Drive Not Posting Photo


Hi,

My zap is posting the description into the Facebook Group but not the photo. 

 

I’ve found previous issue from the community https://community.zapier.com/ask-the-community-3/post-photo-in-facebook-groups-not-posting-photo-696

I tested every single link I have available. 

 

 

when I use owners picture it works: 

 

2. Owners Picture URL  (WORKS WELL)

https://lh3.googleusercontent.com/a-/AOh14GhGut384imXGOxh9k57aT-udO90ZR_kv0jOpjC_=s64

 

But when I tested out every single available link for image, any worked for me. This is the whole overview of errors:

2. Parents Parent Link

https://www.googleapis.com/drive/v2/files/1HSuXikFNzaO6peWH7kjbu5BJa4ukSN0K

Error: The app returned "(#324) Missing or invalid image file".

 

2. Parents Self Link

https://www.googleapis.com/drive/v2/files/1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB/parents/1HSuXikFNzaO6peWH7kjbu5BJa4ukSN0K

Error: The app returned "(#324) Missing or invalid image file".

 

2. Alternate Link

https://drive.google.com/file/d/1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB/view?usp=drivesdk

Error: The app returned "Your photos couldn't be uploaded. Photos should be less than 4 MB and saved as JPG, PNG, GIF, TIFF, HEIF or WebP files.".

 

2. Download URL 

https://www.googleapis.com/drive/v2/files/1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB?alt=media&source=downloadUrl

Error: The app returned "(#324) Missing or invalid image file".

 

2. Embed Link

https://drive.google.com/file/d/1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB/preview?usp=drivesdk

Error: The app returned "Your photos couldn't be uploaded. Photos should be less than 4 MB and saved as JPG, PNG, GIF, TIFF, HEIF or WebP files.".

 

2. Self Link

https://www.googleapis.com/drive/v2/files/1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB

Error: The app returned "(#324) Missing or invalid image file".

 

2. Thumbnail Link

https://lh3.googleusercontent.com/-_kyctiv7OlvApcZJmF3vjsIF4FwwjVi_5rQlr5QOhwHFfNXJR2n1HbdU_rGKu1LKqJTVpsig9Q=s220

Error: The app returned "(#324) Missing or invalid image file".

 

2. Web Content Link

https://drive.google.com/uc?id=1rMkxnhsLp4jUmEQcvlZ7BfLzBm3-uNyB&export=download

Error: The app returned "Your photos couldn't be uploaded. Photos should be less than 4 MB and saved as JPG, PNG, GIF, TIFF, HEIF or WebP files.".

 

I honestly don’t know what other options I have here to make it work, images that I use from Google Drive folder are less than 4 MB and saved as JPG or PNG

 

I would appreciate for your help. 

Valery

Best answer by Danvers

Hi @nomadcruise I’m sorry that you’re having some trouble uploading a photo to your Facebook Group from Google drive. 

 

It sounds like you might need to use a link that looks like this: https://drive.google.com/uc?export=download&id={{FILE_ID}}

Where it says {{FILE_ID}} you need to add the ID of the file, which you should be able to find in the information in the Zap, depending on what steps you have before the Facebook Groups step. Could you give that a go and see if that works for you?

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • Answer
  • May 18, 2020

Hi @nomadcruise I’m sorry that you’re having some trouble uploading a photo to your Facebook Group from Google drive. 

 

It sounds like you might need to use a link that looks like this: https://drive.google.com/uc?export=download&id={{FILE_ID}}

Where it says {{FILE_ID}} you need to add the ID of the file, which you should be able to find in the information in the Zap, depending on what steps you have before the Facebook Groups step. Could you give that a go and see if that works for you?


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • August 18, 2020

Hi @nomadcruise!

I just wanted to check in with you to see if you’d managed to get things working, or whether you could still use some help here. Please let us know :)