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
Create your Your Access Token in Key and Access Token tab
I had the same problem on iOS, and found a hint here:
Apparently, it is now required to set the Callback URL to
http://twitter-oauth.callback
Sind I did so, the login works again.
I was facing the same issue(just moments back).
Go to Twitter Application Management ->
Click on the 'app' on which you are currently working ->
Click on 'Settings' tab ->
1) Callback URL: Insert any valid url(like homepage of your website)
2) Enable Callback Locking (It is recommended to enable callback locking to ensure apps cannot overwrite the callback url): Verify that it is unchecked
Twitter Kit tries to use a webview if the twitter app is not found.
The webview part of Twitter kit needs to override the callback url.
Info about Callback Url field clearly states: To restrict your application from using callbacks, leave this field blank.
So, we need to write down any valid url :)
Reference:
Personal experience obtained moments back :P
Failed to get request token
I have same problem and solved. In my case i need to set callback url in twitter dev account.
Twitter dev account->setting->callBack url(set any valid url like www.google.com)
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.
Hope this help. It work well for me (https://www.assetstore.unity3d.com/en/#!/content/79450).