talon-for-twitter-android icon indicating copy to clipboard operation
talon-for-twitter-android copied to clipboard

error with talon (date and time error)

Open 1daavi opened this issue 4 years ago • 6 comments

I keep on getting this error as soon as i open the app to sign in.

Something went wrong... Please retry! It could be that your date and time on your device isn't set to automatic. This is a requirement of Twitter's 3rd party API.

Any help?

1daavi avatar May 07 '20 05:05 1daavi

If you are running the app in the emulator it is probably because of DNS misconfiguration. I needed to add 8.8.8.8 (Googles DNS) to my hosts DNS list and it solved the issue.

See the SO post for more info: https://stackoverflow.com/questions/42736038/android-emulator-not-able-to-access-the-internet

TheDarkTron avatar May 07 '20 10:05 TheDarkTron

Or you have not set up the API credentials correctly, as described in the readme.

Talon is going to give you that message for any API errors during the login process. You would have to check the logs for a better error message.

klinker24 avatar May 07 '20 11:05 klinker24

Okay this is what i did. I renamed the secret.properties.sample file to secret.properties

And i opened it and entered my secret api keys. And then built the app.

That's the only changes i did.

Is that correct? 🤔

1daavi avatar May 07 '20 13:05 1daavi

Depends how you set up your keys. If you didn't set up the callback correctly, there is more to do. My readme walks you through everything.

https://github.com/klinker-apps/talon-for-twitter-android#building-talon

klinker24 avatar May 07 '20 14:05 klinker24

Thanks a lot for your support. But will anything happen if i build the app without Internet? Can it cause any problems?

1daavi avatar May 07 '20 14:05 1daavi

@1daavi I also get that error on my device when I try to build it and deploy it to my device.

I have just gotten some API keys, and wasn't sure as to which to use, so I tried both sets.

I first tried to use the API Key, and the API Key Secret. That seems to log me in, but doesn't list any tweets, or even let me follow anyone or search for anything, See image.

Then I tried to use the Client ID and Client Secret, and that's when I get the same error as the one you having. WhatsApp Image 2022-11-06 at 10 51 47

mg-bledig avatar Nov 07 '22 09:11 mg-bledig