'Request for oauth_token for Twitter shows "Sorry this page doesn't exist" error

I am sending an API request to get my oauth_token through postman. This is my request: https://api.twitter.com/oauth/request_token?oauth_callback=oob

where the header is Content-Type:application/json and I am providing API key and secret under the Authorization Tab with OAuth 1.0.

On sending this get request, the request returns the error "Sorry, this page doesn't exist".

Please check the image for reference



Solution 1:[1]

I used https://twitter.com/oauth/request_token?oauth_callback=oob and it resolved my issue. Twitter used to use "api.twitter.com" call to authorize API request but they changed back to "twitter.com" which worked for me.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bhawna Dey