Skip to content

Instantly share code, notes, and snippets.

@miftahafina
Last active February 26, 2023 11:00
Show Gist options
  • Save miftahafina/b566c3a9ef06e5533bb371af287d19c0 to your computer and use it in GitHub Desktop.
Save miftahafina/b566c3a9ef06e5533bb371af287d19c0 to your computer and use it in GitHub Desktop.
Memperpendek URL di Google Sheet Dengan Mudah
function shortlink(url) {
let result = UrlFetchApp.fetch("https://tinyurl.com/api-create.php?url=" + encodeURI(url));
return result.getContentText();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment