# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 19
# self = https://watcher.sour.is/conv/xskfpea
Dangit, Goryon logged me out for no apparent reason?
I'm on my phone posting this from a web browser logged into my pod. I'd logged into my pod from the Goryon app yesterday and posted a few tines from it, including a few hours ago. But here we are and only my web browser remains logged in.
I've seen that if you open the app when you are not connected to the Internet for some reason (for instance I use the aeroplane mode a lot) it forgets the login info.

Other than that, the session usually lasts a lot (I haven't tested it but I could say that lasts more than a week)
@eaplmx that's good to know, thanks! I don't know if I was off the internet but I might have been so maybe that's what happened
@eaplmx Ahhh. This 'ol bug. I never _quite_ got the logic right here I don't think. It's actually quite tricky to determine whether a) the authentication to the API has failed or b) you've just lost network or both? I _tried_ I really did. The best thing you can do is avoid using the App if you're not connected to a network 😅
@eaplmx Ahhh. This 'ol bug. I never _quite_ got the logic right here I don't think. It's actually quite tricky to determine whether a) the authentication to the API has failed or b) you've just lost network or both? I _tried_ I really did. The best thing you can do is avoid using the App if you're not connected to a network 😅
@abucci Yeah it's possible. This very rarely (if ever) happens to me. An API token/session doesn't timeout really, but what @eaplmx described above _can_ happen.
@abucci Yeah it's possible. This very rarely (if ever) happens to me. An API token/session doesn't timeout really, but what @eaplmx described above _can_ happen.
@prologic Yep, it's something tricky about coding mobile apps. What I've done is having backup URLs like https://1.1.1.1 or those that Google and Android use to redirect to Public Access points (I can't recall the URLs now, I'll what to look for them) to check if the device has connection.

About Goryon, I think the app wouldn't have to delete/forget the API token until it actually knows the token is invalid 🤔
@eaplmx if you can figure out how to codify this logic properly, I'll gladly accept that PR 🤗
@eaplmx if you can figure out how to codify this logic properly, I'll gladly accept that PR 🤗
@prologic hehe, I think I found what's happening backstage, I managed to show a spinner infinitely not erasing the User Token, but I need to add an error like "Check your Internet connection".

That said, it seems I can't push my progress to the Git repo, perhaps I'm missing some permission?
@eaplmx oh! Let me fix that real quick for you 🙏
@eaplmx oh! Let me fix that real quick for you 🙏
@eaplmx Try now? 🤞 You are now officially a Yarn.social Developer 😅 Congrats! 🥳
@eaplmx Try now? 🤞 You are now officially a Yarn.social Developer 😅 Congrats! 🥳
@prologic Thanks!
@eaplmx Welcome! 🤗
@eaplmx Welcome! 🤗