1
我一直在使用這個簡單的功能在Google Apps腳本中創建縮短的鏈接。過去幾個月一直在工作,但幾天前停止工作。有沒有變化?Google Apps腳本中的Url Shortener是否已更改?
function getShortenedUrl(url){
var longUrl = UrlShortener.newUrl()
.setLongUrl(url);
var shortUrl = UrlShortener.Url.insert(longUrl);
return shortUrl.getId();
}
這是一個錯誤,它得到儘快解決https://code.google.com/p/google-apps-script-issues/issues/detail?id= 2906 –