Skip to content
How to get image UR...
 
Notifications
Clear all

How to get image URLs for Google Slides presentation pages

1 Posts
1 Users
0 Reactions
6 Views
Jonathanjon79
(@jonathanjon79)
Posts: 1
New Member
Topic starter
 

I need to retrieve the URLs for the thumbnails of all pages within my Google Slides presentations, given the presentation IDs. My goal is to automate this process for numerous presentations by providing a list of presentation IDs and obtaining all corresponding thumbnail URLs. There are two primary methods to achieve this:

  1. Using the Google Slides API directly:
    If I have a Google Slides presentation ID and the presentation contains, for example, 17 slides, the thumbnail URL for the first slide is typically:
    https://slides.googleapis.com/v1/presentations/{presentationID}/pages/ * p1 */thumbnail

The URL for the second slide would be:
https://slides.googleapis.com/v1/presentations/{presentationID}/pages/ * p2 */thumbnail

And so on, from p1 to p17.

If I utilize callin.io's Google Slides module with the "Make an API call" action and input the URL as v1/presentations/{presentationID}/pages/p1/thumbnail, the output will be the thumbnail image URL. This works well for a single page.

My objective is to have these image URLs (e.g., all 17 for each presentation) automatically populated back into my Airtable base. Is there an efficient way to do this with fewer operations? One approach I can think of involves using 17 separate Google Slides "Make an API call" modules in callin.io, each configured for a different page number (p1, p2, etc.). However, this would be time-consuming and consume many operations.

Is there a faster method? Perhaps a setting within the "Body" or "query string" fields that could automatically fetch URLs for all pages from p1 to p17 in a single go?

  1. Using the Google Slides "Get a Page/Thumbnail" module in callin.io:
    Alternatively, I could use the Google Slides "Get a Page/Thumbnail" module available in callin.io. In this module, I would specify the "Page Object ID" as "p1", "p2", or "p3". However, is it possible to input all page IDs from "p1" to "p17" collectively using some form of code? Or is this module also limited to processing one page/thumbnail at a time?

My primary aim is to streamline this process. Thanks!

 
Posted : 01/08/2024 12:36 pm
Share: