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
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.