iosswifttwitterkittwitter-login

iOS twitter login when app is not installed


In my iOS app I'm using TwitterKit

The problem I have faced is that when twitter app is not installed there is no way to log in user

I saw answers that suggesting adding any callback URL but that doesn't work anymore

I have tried 2 things: search in their docs and found nothing. tried this answer Tweeting using Twitterkit fails when Twitter app is not installed in iOS 11. This solution doesn't work anymore

Thanks for any help!


Solution

  • Add callback URL in this format

    twitter-twitterid://
    

    (Replace "twitterid" with "your twitter app id")