你好我正在为我的电报机器人制作一个脚本,将这个电报机器人链接到谷歌电子表格。我目前正在关注本系列指南https://www.youtube.com/watch?v=gw0tlbpCx5U&index=2&list=PLGGHwNnXfci86dfqIVLc5l391SPk-RX1F 在youtube上,到目前为止,我已经到了这里:
var token = "498597656:AAHeOLuQ2h-CIMwmlFhW0ScagdwQSFa01g4";
var url = "https://api.telegram.org/bot" + token;
var webAppUrl = "https://script.google.com/macros/u/0/s/AKfycbybIPzAHjjXgSVJMvZDEajhbdtpK6rcwZrra-7Q2jyUEOyjkAg/exec";
function getMe() {
var response = UrlFetchApp.fetch(url + "/getMe");
Logger.log(response.getContentText());
}
function getUpdates() {
var response = UrlFetchApp.fetch(url + "/getUpdates");
Logger.log(response.getContentText());
}
function doGet(e) {
return HtmlService.createHtmlOutput("Hello " + JSON.stringfy(e));
}
但是当我尝试发布webapp时,我得到一个页面未找到错误https://script.google.com/macros/u/0/s/AKfycbybIPzAHjjXgSVJMvZDEajhbdtpK6rcwZrra-7Q2jyUEOyjkAg/exec,这是webapp的网址。有人能帮助我吗?这是我第一次编码,所以我一直关注YouTube指南。