Skip to content

Tag: bitly

Bitly API V4 in Google Apps Script: getting errors when trying to call clicks summary

I am fairly new to Apps Script and this is my first custom function using an API. Thankyou in advance for your advice. I have been following this code to integrate Bitly into Google Sheets. The code they provide for ShortenBitly works perfectly, however I cannot get ExpandBitly or Stats functions to work. Below is my code for BitlyStats,