Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김태민
/
OpenSource_Project
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
seungmi
2019-12-09 23:09:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e714255a5cac640c5b39a9173165bd680e23b83
3e714255
1 parent
f0bf8e7a
test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
facebook/app.js
facebook/app.js
View file @
3e71425
...
...
@@ -60,7 +60,7 @@ app.post("/webhook", (req, res) => {
function
receivedMessage
(
event
)
{
var
senderId
=
event
.
sender
.
id
;
var
content
=
event
.
message
.
text
;
var
bot_message
=
"bot : "
+
content
;
var
bot_message
=
content
;
sendTextMessage
(
senderId
,
bot_message
);
}
...
...
@@ -96,4 +96,4 @@ function sendTextMessage(recipientId, message) {
app
.
listen
(
app
.
get
(
'port'
),
()
=>
{
console
.
log
(
'running on port'
,
app
.
get
(
'port'
));
})
\ No newline at end of file
})
...
...
Please
register
or
login
to post a comment