This commit is contained in:
syuilo 2017-01-21 07:41:55 +09:00
parent 67585b8af1
commit 5f96d485fd

View File

@ -9,7 +9,9 @@ const client = new Twitter({
}); });
module.exports = (req: express.Request, res: express.Response) => { 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(x);
console.log(y); console.log(y);
console.log(z); console.log(z);