Toggle navigation
Toggle navigation
This project
Loading...
Sign in
신지원
/
LineMusicChatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
엄성진
2021-06-06 09:29:34 +0000
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
d330b04e21bcd1a7b5f94100fa2fc959166ab5e9
d330b04e
2 parents
52992f58
2857f4c9
Merge remote-tracking branch 'origin/feature_thumbnail'
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
video_sad.js
video_sad.js
View file @
d330b04
...
...
@@ -7,6 +7,7 @@ exports.check = function(message,replyToken){
'tp1uoFAfgHE'
,
'Qx22TnVVIfU'
,
'3y1QIqR115A'
,
'VXBI1wt8XII'
,
'aWMBn2--E0Q'
,
'HyTbgBlnLCo'
];
const
request
=
require
(
'request'
);
const
fs
=
require
(
'fs'
);
const
TARGET_URL
=
'https://api.line.me/v2/bot/message/reply'
...
...
@@ -52,6 +53,11 @@ exports.check = function(message,replyToken){
"messages"
:
[
{
"type"
:
"image"
,
"originalContentUrl"
:
"https://img.youtube.com/vi/"
+
ids
[
rand_0to9
]
+
"/hqdefault.jpg"
,
"previewImageUrl"
:
"https://img.youtube.com/vi/"
+
ids
[
rand_0to9
]
+
"/hqdefault.jpg"
},
{
"type"
:
"text"
,
"text"
:
sendMessage
}
...
...
Please
register
or
login
to post a comment