From ba1f3acd610103d897db734926c8b4615ac3b8fa Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 20 Jan 2017 14:42:39 +0900 Subject: [PATCH] Fix bug --- src/web/service/twitter/begin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/service/twitter/begin.ts b/src/web/service/twitter/begin.ts index dcfe1611c..675848f5a 100644 --- a/src/web/service/twitter/begin.ts +++ b/src/web/service/twitter/begin.ts @@ -9,7 +9,7 @@ const client = new Twitter({ }); module.exports = (req: express.Request, res: express.Response) => { - client.get('oauth/request_token', (x, y, z) => { + client.post('oauth/request_token', (x, y, z) => { console.log(x); console.log(y); console.log(z);