メインコンテンツにスキップ

Social-Media-Monitor

Automatically monitor and log fan counters from social media(Facebook Pages, Twitter, Instagram, YouTube, Google+, OneSignal, Alexa) using APIs to Google Spreadsheet. Very useful for website admins and social media managers.

AI Summary

Social-Media-Monitor

A Google Apps Script that fetches follower/like counts from multiple social networks daily and logs them to a Google Spreadsheet

Target Users

Beginner-to-intermediate GAS users who manage websites or social channels and need automated aggregation of multi-platform metrics into Google Sheets

Problems Solved

Manually collecting daily metrics from multiple social platforms is time-consuming and error-prone

Tags

Main Features

1
Unified metrics retrieval

Fetch follower/like/subscriber and rank data from Facebook, Twitter, Instagram, YouTube, OneSignal and Alexa with a single script

2
Daily automated logging

Uses time-driven triggers to run MAIN_SAVE_DATA each day and append the results to a Google Sheet

3
Easy spreadsheet analytics

Stored data lives in a Sheet, enabling instant charting and formula-based analysis for historical trends

Usage Examples

Save daily social metrics to a spreadsheet

/**
 * Thin wrapper that calls MAIN_SAVE_DATA from the Social-Media-Monitor script.
 * Set a time-driven trigger (daily) on runDaily() to automate collection.
 */
function runDaily() {
  // Call the main routine provided by the library
  MAIN_SAVE_DATA();
}

Add this function to your Apps Script project, then create a time-driven trigger that runs runDaily once per day. The script will automatically append the latest follower/like counts from each configured social network into your Google Sheet.