A beta version of the Slides Tweeter AddOn will be ready this week. Two major updates helped get it to this point:
Google changed the URL pattern for the thumbnail image, meaning I can grab a much smaller file which greatly increases the speed of the AddOn. Most tweets are posting in less than 20 seconds. Currently, the AddOn is grabbing a 500px wide image, but I may bump it up to 700 or 800px to see if I can squeeze a larger image without the loss of performance.
I’m using the
PropertiesService function of Apps Script to store the active Slides ID and title. When I first built the proof of concept, I didn’t need to store IDs because I could access the
getActivePresentation() property directly. As an AddOn, I need to open the presentation by ID to make sure the correct one is being opened at any one point. This also allowed me to set the webapp as a static address, accessible by anyone using the AddOn. No data is pushed to the client (browser) other than the images of the Slides, so no data is exposed.
To make it easier, I updated the initial UI slightly. Here’s the updated launcher:
The title and hashtag are customizable, the ID field is not. There is still a little tweaking to do to ensure the player launches correctly every time.
If you’d like to be whitelisted for a beta, fill out the form below. I’ll follow up directly via email once it’s ready.Written on November 29th, 2017 by Brian Bennett Categorized in: Technology