This commit is contained in:
syuilo 2017-01-21 07:41:55 +09:00
parent 48822506f2
commit 44b6ddb262
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ const client = new Twitter({
});
module.exports = (req: express.Request, res: express.Response) => {
client.post('oauth/request_token', (x, y, z) => {
client.post('oauth/request_token', {
oauth_callback: config.url + '/tw/cb'
}, (x, y, z) => {
console.log(x);
console.log(y);
console.log(z);