Callback url not approved despite being provided Twitter Api
I face same issue we no need to change in code side, we just need to change some setting in developer account of twitter (tested solution)
You need to add the consumer/api key in Callback URL using below format
Ref link : https://developer.twitter.com/en/docs/basics/callback_url.html
twitterkit-consumer/api key://
You need to add twitterkit-yourConsumerKey in info.plist
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-your Consumer Key (API Key)</string>
</array>
</dict>
</array>
Callback URL not approved for this client application
Just add twittersdk:// as one callback URL on your twitter app setting
https://apps.twitter.com/ and it will work as a magic
login with twitter callback url error
I solved it, I set Callback URL in that format twitterkit-{api key}://
suppose api key is 1234 then the Callback URL should be twitterkit-1234://
Callback URL not approved by Twitter
Twitter recently (in May 2018) enforced that sign-in-with-Twitter users must whitelist callback URLs for security reasons (see the announcement).
This means callback URLs have to be explicitly and identically set up for all supported third-party applications. You can setup the callback URLs in your Twitter's application setup page: https://apps.twitter.com
For example, if your callback URL is http://localhost:8080/myApp/signin/twitter
, you must add it to the list of Callback URLs in your Twitter's application setup page exactly as it is: http://localhost:8080/myApp/signin/twitter
See also the documentation on Twitter callback URLs.
Related Topics
Using Delegates to Transfer Data from One Tableview to Another
How to Get HTML5 Video Thumbnail Without Using Poster on Safari or iOS
Go Back to View Controller from Skscene
How to Detect If The HTML5 Autoplay Attribute Is Supported
How to Deal with Non-Optional Values in Nsuserdefaults in Swift
Is History API Broken on iOS? (Location Bar Doesn't Update on Pushstate)
iOS: Is Possible to Rounder Radius with Different Value in Each Corner
How to Implement a "Rate Us" Feature in a Phonegap App
How to Programmatically Wrap Png Texture Around Cube in Scenekit
Allow Zooming Within Iframe But Not on Page in iOS
Spritekit Not Respecting Zposition
Is Localstorage on iPad Safari Guaranteed to Be Persistent
Swift 4.2 Make Bottom of Tableview Move Up When Keyboard Shows
Random Glitchy Rendering of Svg on iOS/Wkwebview
Cannot Subscript a Value of [Anyobject]? with an Index of Type Int
Background Image Not Displaying Correctly in iOS