chrislacy / TweetLanes

Tweet Lanes for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stuck at "Authorize Twitter Account" after fresh install

bug1303 opened this issue · comments

I have been happily using this app for some while. Now needed to re-install it (fresh install via google play store) and get stuck with a black screen, respectively one white with "Authorize Twitter Account" on top, but no options to click or enter anything. Tested on two different devices, same issue.

commented

I am also seeing this whenever I try to add another account.

commented

The problem seems to be, Twitter now checks if the Authorization CallbackURL is whitelisted in the Twitter APP profile.
I had to put a http-URL into the APP settings in my Twitter Dev account, and had to use the exact same URL as CallbackURL in the TweetLanes org.tweetalib.android.TwitterSignIn.FetchAuthUrlTask#doInBackground method.
I'm not certain what Chris has in his App settings, but I used
String callbackUrl = "http://www.tweetlanes.com/tweetlanes-auth-callback";
and it works again.

Detailed Error message:
09-16 19:01:25.790 13062-13142/com.tweetlanes.android W/System.err: 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
09-16 19:01:25.790 13062-13142/com.tweetlanes.android W/System.err: Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings

commented

Adding a second account won't work still.
The app only tries to re-auth the current account.