Android: Login with Twitter using Twitter4J

后端 未结 3 914
梦如初夏
梦如初夏 2020-12-05 06:18

What I Have Tried:

I already have registered an app in twitter and got Consumer Key and Secret.Even I got various codes to login with twitter.These

3条回答
  •  再見小時候
    2020-12-05 06:27

    you should be writing callback as this in manifest to your activity

    
                
                    
                
                
                    
                    
                    
                    
                
    
    

    And in the Constant File

    final public static String  CALLBACK_SCHEME = "x-oauthflow-twitter";    
    final public static String  CALLBACK_URL = CALLBACK_SCHEME + "://callback";
    

提交回复
热议问题