Skip to content

Instantly share code, notes, and snippets.

@mhakrook
Created May 6, 2020 03:04
Show Gist options
  • Save mhakrook/dbdfaf1a67f76d3393fd9af2401e7dba to your computer and use it in GitHub Desktop.
Save mhakrook/dbdfaf1a67f76d3393fd9af2401e7dba to your computer and use it in GitHub Desktop.
var token = [token1,token2,token3] //ใส่ token แต่ละกลุ่มแทน token1 2 3.....
for(var i in token){
var options = {
"method": "post",
"payload": "ข้อความ",
"headers": {
"Authorization": "Bearer " + token[i]
}
};
UrlFetchApp.fetch("https://notify-api.line.me/api/notify", options);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment