Twitter Call back URL











up vote
15
down vote

favorite
3












I am working with twitter SDK to integrate with in ios app.When i follow all the step and create the customer key and put it in my app.When I run the app it show
"[TwitterKit] did encounter error with message




"Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain
Code=-1 "Callback URL not approved for this client application.
Approved callback URLs can be adjusted in your application
settings" UserInfo={NSLocalizedDescription=Callback URL
not approved for this client application. Approved callback URLs can
be adjusted in your application settings"




How to resolve this?










share|improve this question
























  • stackoverflow.com/a/50961255/5523205
    – Shahrukh
    Jun 22 at 8:23















up vote
15
down vote

favorite
3












I am working with twitter SDK to integrate with in ios app.When i follow all the step and create the customer key and put it in my app.When I run the app it show
"[TwitterKit] did encounter error with message




"Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain
Code=-1 "Callback URL not approved for this client application.
Approved callback URLs can be adjusted in your application
settings" UserInfo={NSLocalizedDescription=Callback URL
not approved for this client application. Approved callback URLs can
be adjusted in your application settings"




How to resolve this?










share|improve this question
























  • stackoverflow.com/a/50961255/5523205
    – Shahrukh
    Jun 22 at 8:23













up vote
15
down vote

favorite
3









up vote
15
down vote

favorite
3






3





I am working with twitter SDK to integrate with in ios app.When i follow all the step and create the customer key and put it in my app.When I run the app it show
"[TwitterKit] did encounter error with message




"Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain
Code=-1 "Callback URL not approved for this client application.
Approved callback URLs can be adjusted in your application
settings" UserInfo={NSLocalizedDescription=Callback URL
not approved for this client application. Approved callback URLs can
be adjusted in your application settings"




How to resolve this?










share|improve this question















I am working with twitter SDK to integrate with in ios app.When i follow all the step and create the customer key and put it in my app.When I run the app it show
"[TwitterKit] did encounter error with message




"Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain
Code=-1 "Callback URL not approved for this client application.
Approved callback URLs can be adjusted in your application
settings" UserInfo={NSLocalizedDescription=Callback URL
not approved for this client application. Approved callback URLs can
be adjusted in your application settings"




How to resolve this?







swift twitter login






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 30 at 9:55









Joe Sebin

242216




242216










asked May 30 at 9:51









Yaseen khan

7615




7615












  • stackoverflow.com/a/50961255/5523205
    – Shahrukh
    Jun 22 at 8:23


















  • stackoverflow.com/a/50961255/5523205
    – Shahrukh
    Jun 22 at 8:23
















stackoverflow.com/a/50961255/5523205
– Shahrukh
Jun 22 at 8:23




stackoverflow.com/a/50961255/5523205
– Shahrukh
Jun 22 at 8:23












7 Answers
7






active

oldest

votes

















up vote
32
down vote













I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:



twitterkit-{consumer/api key}://


For example:



twitterkit-128238aKjqlp123AKdasdf://


Also, this needs to be registered in your Info.plist exactly the same:



<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-128238aKjqlp123AKdasdf</string>
</array>
</dict>


More documentation is listed here: https://developer.twitter.com/en/docs/basics/callback_url.html






share|improve this answer





















  • Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
    – Amro Shafie
    Jun 10 at 12:41










  • @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
    – Al-shimaa Adel
    Jun 13 at 12:31










  • @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
    – Amro Shafie
    Jun 13 at 12:34












  • @AmroShafie it works now
    – Al-shimaa Adel
    Jun 13 at 12:39










  • worked beautifully! Thank you.
    – user1019042
    Jul 2 at 2:59


















up vote
12
down vote













I just added on callback url field twitterkit-<apiKey>://.
If you have an apiKey like abc you should add twitterkit-abc://. This work for iOS, for Android just add twittersdk://.






share|improve this answer























  • You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
    – dinesharjani
    Jun 28 at 10:48










  • Thanks a lot for your answer.
    – Gati
    Jul 23 at 11:49


















up vote
8
down vote













To Fix this issue do as below:



[Mandatory]



Add CallbackURL into the dashboard as below format:



For iOS:



twitterkit-CONSUMERKEY://



For Android:



twittersdk://



Help Link:



https://twittercommunity.com/t/ios-twitter-login-error-code-415/107775



[ Note: Please replace your consumer key in place of words "CONSUMERKEY" in above format]






share|improve this answer





















  • Thank you very much!!!! Saved my day😍
    – Turki Alkhateeb
    Jun 29 at 4:43










  • I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
    – Shn_Android_Dev
    Jul 19 at 22:49










  • Thank you. You really saved my time :)
    – Umair_UAS
    Jul 26 at 11:35


















up vote
2
down vote













My solution: I hope it's useful. enter image description here






share|improve this answer




























    up vote
    1
    down vote













    Go to https://apps.twitter.com



    Then in the "Settings" tab of your app.
    Fill the "Callback URLs" form.



    According to this documentation i guess you just have to enter a valid URL :
    https://github.com/twitter/twitter-kit-ios/wiki/Installation




    NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.







    share|improve this answer




























      up vote
      1
      down vote













      Hey everyone here is a simple fix that worked for me.



      Go to: https://apps.twitter.com
      Go into the settings tab.
      Under Terms of Service URL uncheck the box that says:
      "Unable Callback Locking"
      Now test your app.






      share|improve this answer





















      • Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
        – Boldijar Paul
        Jun 10 at 19:33










      • @BoldijarPaul I am doing the same but still facing the issue. can you help
        – Usama Sadiq
        Jun 13 at 2:29










      • @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
        – Boldijar Paul
        Jun 13 at 6:23












      • hm I am working on iOS
        – Usama Sadiq
        Jun 14 at 4:15


















      up vote
      0
      down vote













      Finally I found the solution for my case. Hope it'll help someone else



      Put this in URL Callback field.



      twittersdk://



      Refer: https://github.com/twitter/twitter-kit-android/issues/135






      share|improve this answer





















        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














         

        draft saved


        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50601607%2ftwitter-call-back-url%23new-answer', 'question_page');
        }
        );

        Post as a guest
































        7 Answers
        7






        active

        oldest

        votes








        7 Answers
        7






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        32
        down vote













        I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:



        twitterkit-{consumer/api key}://


        For example:



        twitterkit-128238aKjqlp123AKdasdf://


        Also, this needs to be registered in your Info.plist exactly the same:



        <dict>
        <key>CFBundleURLSchemes</key>
        <array>
        <string>twitterkit-128238aKjqlp123AKdasdf</string>
        </array>
        </dict>


        More documentation is listed here: https://developer.twitter.com/en/docs/basics/callback_url.html






        share|improve this answer





















        • Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
          – Amro Shafie
          Jun 10 at 12:41










        • @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
          – Al-shimaa Adel
          Jun 13 at 12:31










        • @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
          – Amro Shafie
          Jun 13 at 12:34












        • @AmroShafie it works now
          – Al-shimaa Adel
          Jun 13 at 12:39










        • worked beautifully! Thank you.
          – user1019042
          Jul 2 at 2:59















        up vote
        32
        down vote













        I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:



        twitterkit-{consumer/api key}://


        For example:



        twitterkit-128238aKjqlp123AKdasdf://


        Also, this needs to be registered in your Info.plist exactly the same:



        <dict>
        <key>CFBundleURLSchemes</key>
        <array>
        <string>twitterkit-128238aKjqlp123AKdasdf</string>
        </array>
        </dict>


        More documentation is listed here: https://developer.twitter.com/en/docs/basics/callback_url.html






        share|improve this answer





















        • Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
          – Amro Shafie
          Jun 10 at 12:41










        • @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
          – Al-shimaa Adel
          Jun 13 at 12:31










        • @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
          – Amro Shafie
          Jun 13 at 12:34












        • @AmroShafie it works now
          – Al-shimaa Adel
          Jun 13 at 12:39










        • worked beautifully! Thank you.
          – user1019042
          Jul 2 at 2:59













        up vote
        32
        down vote










        up vote
        32
        down vote









        I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:



        twitterkit-{consumer/api key}://


        For example:



        twitterkit-128238aKjqlp123AKdasdf://


        Also, this needs to be registered in your Info.plist exactly the same:



        <dict>
        <key>CFBundleURLSchemes</key>
        <array>
        <string>twitterkit-128238aKjqlp123AKdasdf</string>
        </array>
        </dict>


        More documentation is listed here: https://developer.twitter.com/en/docs/basics/callback_url.html






        share|improve this answer












        I had the same problem and the TwitterKit documentation is not accurate or Twitter has changed their policies. In any case, on the Twitter Apps site, the callback URL has to be set very specifically. The callback URL should be in the format:



        twitterkit-{consumer/api key}://


        For example:



        twitterkit-128238aKjqlp123AKdasdf://


        Also, this needs to be registered in your Info.plist exactly the same:



        <dict>
        <key>CFBundleURLSchemes</key>
        <array>
        <string>twitterkit-128238aKjqlp123AKdasdf</string>
        </array>
        </dict>


        More documentation is listed here: https://developer.twitter.com/en/docs/basics/callback_url.html







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 3 at 1:37









        David J

        50638




        50638












        • Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
          – Amro Shafie
          Jun 10 at 12:41










        • @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
          – Al-shimaa Adel
          Jun 13 at 12:31










        • @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
          – Amro Shafie
          Jun 13 at 12:34












        • @AmroShafie it works now
          – Al-shimaa Adel
          Jun 13 at 12:39










        • worked beautifully! Thank you.
          – user1019042
          Jul 2 at 2:59


















        • Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
          – Amro Shafie
          Jun 10 at 12:41










        • @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
          – Al-shimaa Adel
          Jun 13 at 12:31










        • @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
          – Amro Shafie
          Jun 13 at 12:34












        • @AmroShafie it works now
          – Al-shimaa Adel
          Jun 13 at 12:39










        • worked beautifully! Thank you.
          – user1019042
          Jul 2 at 2:59
















        Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
        – Amro Shafie
        Jun 10 at 12:41




        Life saver, I don't understand how is twitter not stating this in their documentation. Thanks.
        – Amro Shafie
        Jun 10 at 12:41












        @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
        – Al-shimaa Adel
        Jun 13 at 12:31




        @AmroShafie i have the same error, i don't know how to solve it suppose that API key is 123 then the url callback should be: twitterkit-123://
        – Al-shimaa Adel
        Jun 13 at 12:31












        @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
        – Amro Shafie
        Jun 13 at 12:34






        @Al-shimaaAdel Did you add this callback url in both your app and apps.twitter.com platform under settings tab ?
        – Amro Shafie
        Jun 13 at 12:34














        @AmroShafie it works now
        – Al-shimaa Adel
        Jun 13 at 12:39




        @AmroShafie it works now
        – Al-shimaa Adel
        Jun 13 at 12:39












        worked beautifully! Thank you.
        – user1019042
        Jul 2 at 2:59




        worked beautifully! Thank you.
        – user1019042
        Jul 2 at 2:59












        up vote
        12
        down vote













        I just added on callback url field twitterkit-<apiKey>://.
        If you have an apiKey like abc you should add twitterkit-abc://. This work for iOS, for Android just add twittersdk://.






        share|improve this answer























        • You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
          – dinesharjani
          Jun 28 at 10:48










        • Thanks a lot for your answer.
          – Gati
          Jul 23 at 11:49















        up vote
        12
        down vote













        I just added on callback url field twitterkit-<apiKey>://.
        If you have an apiKey like abc you should add twitterkit-abc://. This work for iOS, for Android just add twittersdk://.






        share|improve this answer























        • You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
          – dinesharjani
          Jun 28 at 10:48










        • Thanks a lot for your answer.
          – Gati
          Jul 23 at 11:49













        up vote
        12
        down vote










        up vote
        12
        down vote









        I just added on callback url field twitterkit-<apiKey>://.
        If you have an apiKey like abc you should add twitterkit-abc://. This work for iOS, for Android just add twittersdk://.






        share|improve this answer














        I just added on callback url field twitterkit-<apiKey>://.
        If you have an apiKey like abc you should add twitterkit-abc://. This work for iOS, for Android just add twittersdk://.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Sep 21 at 14:16

























        answered Jun 13 at 16:49









        Salvatore Cozzubo

        1508




        1508












        • You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
          – dinesharjani
          Jun 28 at 10:48










        • Thanks a lot for your answer.
          – Gati
          Jul 23 at 11:49


















        • You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
          – dinesharjani
          Jun 28 at 10:48










        • Thanks a lot for your answer.
          – Gati
          Jul 23 at 11:49
















        You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
        – dinesharjani
        Jun 28 at 10:48




        You sir, are an immeasurable life-saver. You should know that :) Geez, if only Twitter would take a bit more care of us, 3rd-party developers, without whom the platform would be absolutely nothing... Is it too much to ask for just proper documentation with your official SDK ?
        – dinesharjani
        Jun 28 at 10:48












        Thanks a lot for your answer.
        – Gati
        Jul 23 at 11:49




        Thanks a lot for your answer.
        – Gati
        Jul 23 at 11:49










        up vote
        8
        down vote













        To Fix this issue do as below:



        [Mandatory]



        Add CallbackURL into the dashboard as below format:



        For iOS:



        twitterkit-CONSUMERKEY://



        For Android:



        twittersdk://



        Help Link:



        https://twittercommunity.com/t/ios-twitter-login-error-code-415/107775



        [ Note: Please replace your consumer key in place of words "CONSUMERKEY" in above format]






        share|improve this answer





















        • Thank you very much!!!! Saved my day😍
          – Turki Alkhateeb
          Jun 29 at 4:43










        • I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
          – Shn_Android_Dev
          Jul 19 at 22:49










        • Thank you. You really saved my time :)
          – Umair_UAS
          Jul 26 at 11:35















        up vote
        8
        down vote













        To Fix this issue do as below:



        [Mandatory]



        Add CallbackURL into the dashboard as below format:



        For iOS:



        twitterkit-CONSUMERKEY://



        For Android:



        twittersdk://



        Help Link:



        https://twittercommunity.com/t/ios-twitter-login-error-code-415/107775



        [ Note: Please replace your consumer key in place of words "CONSUMERKEY" in above format]






        share|improve this answer





















        • Thank you very much!!!! Saved my day😍
          – Turki Alkhateeb
          Jun 29 at 4:43










        • I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
          – Shn_Android_Dev
          Jul 19 at 22:49










        • Thank you. You really saved my time :)
          – Umair_UAS
          Jul 26 at 11:35













        up vote
        8
        down vote










        up vote
        8
        down vote









        To Fix this issue do as below:



        [Mandatory]



        Add CallbackURL into the dashboard as below format:



        For iOS:



        twitterkit-CONSUMERKEY://



        For Android:



        twittersdk://



        Help Link:



        https://twittercommunity.com/t/ios-twitter-login-error-code-415/107775



        [ Note: Please replace your consumer key in place of words "CONSUMERKEY" in above format]






        share|improve this answer












        To Fix this issue do as below:



        [Mandatory]



        Add CallbackURL into the dashboard as below format:



        For iOS:



        twitterkit-CONSUMERKEY://



        For Android:



        twittersdk://



        Help Link:



        https://twittercommunity.com/t/ios-twitter-login-error-code-415/107775



        [ Note: Please replace your consumer key in place of words "CONSUMERKEY" in above format]







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 28 at 11:31









        Sandip Patel - SM

        2,3531723




        2,3531723












        • Thank you very much!!!! Saved my day😍
          – Turki Alkhateeb
          Jun 29 at 4:43










        • I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
          – Shn_Android_Dev
          Jul 19 at 22:49










        • Thank you. You really saved my time :)
          – Umair_UAS
          Jul 26 at 11:35


















        • Thank you very much!!!! Saved my day😍
          – Turki Alkhateeb
          Jun 29 at 4:43










        • I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
          – Shn_Android_Dev
          Jul 19 at 22:49










        • Thank you. You really saved my time :)
          – Umair_UAS
          Jul 26 at 11:35
















        Thank you very much!!!! Saved my day😍
        – Turki Alkhateeb
        Jun 29 at 4:43




        Thank you very much!!!! Saved my day😍
        – Turki Alkhateeb
        Jun 29 at 4:43












        I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
        – Shn_Android_Dev
        Jul 19 at 22:49




        I am using Android Studio and this worked for me as well. Just added twittersdk:// to the CallbackURL field in apps.twitter.com. Thanks.
        – Shn_Android_Dev
        Jul 19 at 22:49












        Thank you. You really saved my time :)
        – Umair_UAS
        Jul 26 at 11:35




        Thank you. You really saved my time :)
        – Umair_UAS
        Jul 26 at 11:35










        up vote
        2
        down vote













        My solution: I hope it's useful. enter image description here






        share|improve this answer

























          up vote
          2
          down vote













          My solution: I hope it's useful. enter image description here






          share|improve this answer























            up vote
            2
            down vote










            up vote
            2
            down vote









            My solution: I hope it's useful. enter image description here






            share|improve this answer












            My solution: I hope it's useful. enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 7 at 18:03









            PhuocLuong

            491614




            491614






















                up vote
                1
                down vote













                Go to https://apps.twitter.com



                Then in the "Settings" tab of your app.
                Fill the "Callback URLs" form.



                According to this documentation i guess you just have to enter a valid URL :
                https://github.com/twitter/twitter-kit-ios/wiki/Installation




                NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.







                share|improve this answer

























                  up vote
                  1
                  down vote













                  Go to https://apps.twitter.com



                  Then in the "Settings" tab of your app.
                  Fill the "Callback URLs" form.



                  According to this documentation i guess you just have to enter a valid URL :
                  https://github.com/twitter/twitter-kit-ios/wiki/Installation




                  NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.







                  share|improve this answer























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Go to https://apps.twitter.com



                    Then in the "Settings" tab of your app.
                    Fill the "Callback URLs" form.



                    According to this documentation i guess you just have to enter a valid URL :
                    https://github.com/twitter/twitter-kit-ios/wiki/Installation




                    NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.







                    share|improve this answer












                    Go to https://apps.twitter.com



                    Then in the "Settings" tab of your app.
                    Fill the "Callback URLs" form.



                    According to this documentation i guess you just have to enter a valid URL :
                    https://github.com/twitter/twitter-kit-ios/wiki/Installation




                    NOTE: Although the callback URL will not be requested by Twitter Kit in your app, it must be set to a valid URL for the app to work with the SDK.








                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered May 30 at 12:25









                    JeffProd

                    1,1591717




                    1,1591717






















                        up vote
                        1
                        down vote













                        Hey everyone here is a simple fix that worked for me.



                        Go to: https://apps.twitter.com
                        Go into the settings tab.
                        Under Terms of Service URL uncheck the box that says:
                        "Unable Callback Locking"
                        Now test your app.






                        share|improve this answer





















                        • Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                          – Boldijar Paul
                          Jun 10 at 19:33










                        • @BoldijarPaul I am doing the same but still facing the issue. can you help
                          – Usama Sadiq
                          Jun 13 at 2:29










                        • @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                          – Boldijar Paul
                          Jun 13 at 6:23












                        • hm I am working on iOS
                          – Usama Sadiq
                          Jun 14 at 4:15















                        up vote
                        1
                        down vote













                        Hey everyone here is a simple fix that worked for me.



                        Go to: https://apps.twitter.com
                        Go into the settings tab.
                        Under Terms of Service URL uncheck the box that says:
                        "Unable Callback Locking"
                        Now test your app.






                        share|improve this answer





















                        • Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                          – Boldijar Paul
                          Jun 10 at 19:33










                        • @BoldijarPaul I am doing the same but still facing the issue. can you help
                          – Usama Sadiq
                          Jun 13 at 2:29










                        • @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                          – Boldijar Paul
                          Jun 13 at 6:23












                        • hm I am working on iOS
                          – Usama Sadiq
                          Jun 14 at 4:15













                        up vote
                        1
                        down vote










                        up vote
                        1
                        down vote









                        Hey everyone here is a simple fix that worked for me.



                        Go to: https://apps.twitter.com
                        Go into the settings tab.
                        Under Terms of Service URL uncheck the box that says:
                        "Unable Callback Locking"
                        Now test your app.






                        share|improve this answer












                        Hey everyone here is a simple fix that worked for me.



                        Go to: https://apps.twitter.com
                        Go into the settings tab.
                        Under Terms of Service URL uncheck the box that says:
                        "Unable Callback Locking"
                        Now test your app.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Jun 5 at 13:40









                        Javan Aimable

                        111




                        111












                        • Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                          – Boldijar Paul
                          Jun 10 at 19:33










                        • @BoldijarPaul I am doing the same but still facing the issue. can you help
                          – Usama Sadiq
                          Jun 13 at 2:29










                        • @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                          – Boldijar Paul
                          Jun 13 at 6:23












                        • hm I am working on iOS
                          – Usama Sadiq
                          Jun 14 at 4:15


















                        • Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                          – Boldijar Paul
                          Jun 10 at 19:33










                        • @BoldijarPaul I am doing the same but still facing the issue. can you help
                          – Usama Sadiq
                          Jun 13 at 2:29










                        • @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                          – Boldijar Paul
                          Jun 13 at 6:23












                        • hm I am working on iOS
                          – Usama Sadiq
                          Jun 14 at 4:15
















                        Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                        – Boldijar Paul
                        Jun 10 at 19:33




                        Saved my life. Thank you! I had this issue on android for devices without twitter app installed.
                        – Boldijar Paul
                        Jun 10 at 19:33












                        @BoldijarPaul I am doing the same but still facing the issue. can you help
                        – Usama Sadiq
                        Jun 13 at 2:29




                        @BoldijarPaul I am doing the same but still facing the issue. can you help
                        – Usama Sadiq
                        Jun 13 at 2:29












                        @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                        – Boldijar Paul
                        Jun 13 at 6:23






                        @UsamaSadiq for me it worked by unchecking that box, because on android it would show up the webview..I can't help you more than this..sorry
                        – Boldijar Paul
                        Jun 13 at 6:23














                        hm I am working on iOS
                        – Usama Sadiq
                        Jun 14 at 4:15




                        hm I am working on iOS
                        – Usama Sadiq
                        Jun 14 at 4:15










                        up vote
                        0
                        down vote













                        Finally I found the solution for my case. Hope it'll help someone else



                        Put this in URL Callback field.



                        twittersdk://



                        Refer: https://github.com/twitter/twitter-kit-android/issues/135






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          Finally I found the solution for my case. Hope it'll help someone else



                          Put this in URL Callback field.



                          twittersdk://



                          Refer: https://github.com/twitter/twitter-kit-android/issues/135






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Finally I found the solution for my case. Hope it'll help someone else



                            Put this in URL Callback field.



                            twittersdk://



                            Refer: https://github.com/twitter/twitter-kit-android/issues/135






                            share|improve this answer












                            Finally I found the solution for my case. Hope it'll help someone else



                            Put this in URL Callback field.



                            twittersdk://



                            Refer: https://github.com/twitter/twitter-kit-android/issues/135







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 7 at 6:24









                            Rico Nguyen

                            9517




                            9517






























                                 

                                draft saved


                                draft discarded



















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50601607%2ftwitter-call-back-url%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest




















































































                                Popular posts from this blog

                                横浜市

                                Prokocim

                                Hungria