From 81d86648db3b1aa3a8d94eb26d96da8efc2b22d0 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Tue, 13 Dec 2022 12:24:21 +0800 Subject: [PATCH] [mod] --- liff-starter.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/liff-starter.js b/liff-starter.js index 93c9566..a1e1655 100644 --- a/liff-starter.js +++ b/liff-starter.js @@ -25,7 +25,7 @@ function getP() { document.getElementById("imagex").addEventListener("click", function () { const data = [{ "type": "text", - "text": ("line://app/1657715144-m4W6lyjL?type=image&img=https://wallpaperstudio10.com/static/wpdb/wallpapers/1000x563/168891.jpg\n\ntype => image\nimg => Link (must be HTTPS)") + "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=image&img=https://wallpaperstudio10.com/static/wpdb/wallpapers/1000x563/168891.jpg\n\ntype => image\nimg => Link (must be HTTPS)") }]; sendMessages(data); @@ -33,7 +33,7 @@ function getP() { document.getElementById("videox").addEventListener("click", function () { const data = [{ "type": "text", - "text": ("line://app/1657715144-m4W6lyjL?type=video&ocu=https://tinyurl.com/y8og3or5&piu=https://images6.alphacoders.com/710/thumb-350-710132.png\n\ntype => video\nocu => video url\npiu => preview image") + "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=video&ocu=https://tinyurl.com/y8og3or5&piu=https://images6.alphacoders.com/710/thumb-350-710132.png\n\ntype => video\nocu => video url\npiu => preview image") }]; sendMessages(data); @@ -41,7 +41,7 @@ function getP() { document.getElementById("audiox").addEventListener("click", function () { const data = [{ "type": "text", - "text": ("line://app/1657715144-m4W6lyjL?type=audio&link=https://platelets.fun/public/sounds/music.mp3") + "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=audio&link=https://platelets.fun/public/sounds/music.mp3") }]; sendMessages(data); @@ -49,7 +49,7 @@ function getP() { document.getElementById("stickerx").addEventListener("click", function () { const data = [{ "type": "text", - "text": ("With Animation:\nline://app/1657715144-m4W6lyjL?type=sticker&stk=anim&sid=32128231&pkg=3099312\n\nNo Animation:\nline://app/1657715144-m4W6lyjL?type=sticker&stk=noanim&sid=32128231&pkg=3099312\n\ntype => sticker\nstk => anim / noanim\nsid => sticker id\npkg => packages id") + "text": ("With Animation:\nhttps://liff.line.me/1657715144-m4W6lyjL?type=sticker&stk=anim&sid=32128231&pkg=3099312\n\nNo Animation:\nhttps://liff.line.me/1657715144-m4W6lyjL?type=sticker&stk=noanim&sid=32128231&pkg=3099312\n\ntype => sticker\nstk => anim / noanim\nsid => sticker id\npkg => packages id") }]; sendMessages(data); @@ -186,7 +186,7 @@ function meProfile() { "actions": [{ "type": "uri", "label": "Me", - "uri": "line://app/1657715144-m4W6lyjL?type=profile" + "uri": "https://liff.line.me/1657715144-m4W6lyjL?type=profile" }] } }];