I already sign in and redirected to callback url but can't get redirected back to the app. Any solution?
const tokens = {
consumerKey: TWITTER_CONSUMER_KEY,
consumerSecret: TWITTER_CONSUMER_SECRET
}
const redirectUrl = 'http://localhost/twitter'
auth(tokens, redirectUrl)
.then(resp => console.log(resp))
.catch(err => console.log(err))
I already sign in and redirected to callback url but can't get redirected back to the app. Any solution?
My code looks like this