-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
30 lines (28 loc) · 1.33 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
blog: https://developers.facebook.com/sa/apps/1563750290587828/messenger/
11978 heroku
11979 heroku apps --all
11980 sudo npm install npm -g
11981 npm init
11982 npm install express request body-parser --save
11983 ll
11984 vi index.js
11985 vi Procfile
11986 ll
11987 git init
11988 git add .
11989 git commit --message 'hello world'
11990 heroku create
11991 git push heroku master
11992 heroku apps --all
11993 ll
11994 vi index.js
11995 curl -X POST
"https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=EAAWOOPyWgLQBAF631WJkzsLNRZBXXyCKUbZCwZA0DQYxgrTOXDJcafuc930hJTAOw1Syp7iPzFFEQZAf8rPTXJRxXa9us7F1qdK9tAon3ZAFA1UNe2OYPVCWnqUTBhNdp6ZBYUd2ZAhQFsMatP1eNeNoatn9H0KZALbw92qNTaqcHAZDZD\n\n
11996 curl -X POST
"https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=EAAWOOPyWgLQBAF631WJkzsLNRZBXXyCKUbZCwZA0DQYxgrTOXDJcafuc930hJTAOw1Syp7iPzFFEQZAf8rPTXJRxXa9us7F1qdK9tAon3ZAFA1UNe2OYPVCWnqUTBhNdp6ZBYUd2ZAhQFsMatP1eNeNoatn9H0KZALbw92qNTaqcHAZDZD\n\n"
11997 curl -X POST
"https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=EAAWOOPyWgLQBAF631WJkzsLNRZBXXyCKUbZCwZA0DQYxgrTOXDJcafuc930hJTAOw1Syp7iPzFFEQZAf8rPTXJRxXa9us7F1qdK9tAon3ZAFA1UNe2OYPVCWnqUTBhNdp6ZBYUd2ZAhQFsMatP1eNeNoatn9H0KZALbw92qNTaqcHAZDZD"
11998 vi index.js
11999 git add .
12000 git commit -m "update bot"
12001 git push heroku master