Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

error with talon (date and time error) #135

Open
1daavi opened this issue May 7, 2020 · 6 comments
Open

error with talon (date and time error) #135

1daavi opened this issue May 7, 2020 · 6 comments

Comments

@1daavi
Copy link

1daavi commented May 7, 2020

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?

@TheDarkTron
Copy link

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

@klinker24
Copy link
Owner

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.

@1daavi
Copy link
Author

1daavi commented May 7, 2020

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? 🤔

@klinker24
Copy link
Owner

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

@1daavi
Copy link
Author

1daavi commented May 7, 2020

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

@mg-bledig
Copy link

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants