I am following this tutorial and added my twitter app consumer key and secret.

I also whitelisted callback URLs in the twitter app dashboard.

Screenshot%20from%202019-11-18%2019-06-50

But still getting

Error: Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings

Please help and thanks in advance!!

localhost or IP addresses don’t work, you’ll need to use something like https://ngrok.com/ to make a working callback URL to your machine

1 Like

Hey @IgorBrigadir thanks for the quick response.

I checked the doc and it says you can use 127.0.0.1

Here is the doc - https://developer.twitter.com/en/docs/basics/apps/guides/callback-urls

Screenshot%20from%202019-11-18%2019-21-33

UPDATE-

Even used ngrok, still getting the same response.

Found the problem

Using /auth/twitter/redirect in backend as a callback url… should have used complete url including domain name

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.