twitter-archive / twitter-kit-ios

Twitter Kit is a native SDK to include Twitter content inside mobile apps.
Apache License 2.0
688 stars 449 forks source link

How to specify callback_url? #78

Closed jstawski closed 6 years ago

jstawski commented 6 years ago

According to this: https://twittercommunity.com/t/action-required-sign-in-with-twitter-users-must-whitelist-callback-urls/105342 callback_url is now required for logging in with Twitter. How do we specify the callback url or is that being set automatically? We are currently getting a 403 and we are not sure if it is because it is not being set or because whatever you are using is not specified on the valid callbacks of the Twitter App.

jbcaveman commented 6 years ago

I was just wrestling with this very problem and found the solution here: https://twittercommunity.com/t/callback-url-example/107307/3

Just add your URL scheme to your Twitter application settings as the callback URL for the app, like: "twitterkit-YOURCONSUMERKEY://"

jstawski commented 6 years ago

we are running a much older version of twitterkit so we had to use twittersdk:// instead