Failed to get request token on Android M running Devices

后端 未结 9 1327
误落风尘
误落风尘 2021-01-01 17:39

Twitter login failed in Android 6.0 preview devices. Its working fine on all other devices.

Below code is used to initialize fabric with twitter.

TWITTER_ K

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-01 18:14

    Before this solution, I tried a valid url (even google.com). But, in my case, it did not work.

    I then found this solution, which worked well for me:

    Step 1: Go to your twitter app's settings by logging in at https://apps.twitter.com/ and selecting the Settings tab, then add twittersdk:// as a callback url. (I found it in lib class.)

    Step 2: Save your update.

    Step 3: Try your app again.

提交回复
热议问题