skip to Main Content

Twitter login with React TypeError: Failed to fetch – Twitter API

I am running the React project on localhost:3000. I am trying to login with Twitter using React. URL: http://localhost:3000/login/ <TwitterLogin loginUrl="http://localhost:4000/api/v1/auth/twitter" onFailure={this.onFailed} onSuccess={this.onSuccess} requestTokenUrl="http://localhost:4000/api/v1/auth/twitter/reverse" /> When I clicked the Twitter login icon. I keep getting the error "TypeError: Failed to…

VIEW QUESTION
Back To Top
Search