Closed mayeaux closed 8 years ago
https://github.com/tinderjs/tinder-desktop/pull/91/files
Here's where the bug was introduced
It doesn't matter if the FB token expires, the xAuthToken that's returned is much more hardy anyways and that's what's used to call the API
Fixed in latest commit.
There should be functionality that detects when a token expires but this isn't it. The xAuthToken
we get from Tinder lasts a long time, we rarely have to change it.
I'm skeptical about the token invalidation. I seem to get logged out of tinder-desktop everytime I check it, whereas in the past I could have it run for hours and hours without an issue. I think we're going a bit gung-ho on thinking the token is invalid and logging the user out, it definitely has broken usability in a pretty big way. Worth taking a look at / fixing