AutoFetcher-IG-Stories-to-GDrive
A simple tool to save IG Stories of any user to your Google Drive with just Google Sheets and Apps Script
AI Summary
IG Stories to GDrive Fetcher
A Google Apps Script–based tool that saves specified Instagram users’ Stories to Google Drive via Google Sheets.
Target Users
Intermediate GAS developers who need to automate cloud-based archiving of Instagram Stories for business or personal projects.
Problems Solved
Manually downloading and organizing Instagram Stories is time-consuming and error-prone, especially because Stories disappear after 24 hours, making automation necessary.
Tags
Main Features
No-code Setup
Copying the provided Google Sheet template instantly binds the Apps Script library, enabling automated execution without writing code.
Time-based Triggers
The script can be attached to time-driven triggers to automatically fetch and save Stories to Drive at fixed intervals.
Per-user Folder Organization
Downloads from different Instagram accounts can be routed into separate Google Drive folders for organized storage.
Health Monitoring
Built-in health checks update status badges and send error reports, monitoring Instagram API availability and login status.
Usage Examples
Initialize UI and process selected rows
Add the snippet below to the Apps Script project bound to your Google Sheet to enable a custom menu and row-based processing.
/**
* Run library function to handle the currently selected rows.
*/
function moveSelected() {
// Obtain a singleton instance of the library
const IGSF = IGStoriesToGDriveDEV.getInstance();
// Perform the library’s row-processing routine
IGSF.moveSelected();
}
/**
* Add a custom menu when the spreadsheet is opened.
*/
function onOpen() {
const IGSF = IGStoriesToGDriveDEV.getInstance();
// Initialize UI elements such as menus or sidebars
IGSF.initUi();
}After saving the script, reload the spreadsheet to see the new menu. You can run moveSelected manually or attach it to triggers to fetch and store Stories.