tinderjs / tinder-desktop

Use Tinder from your desktop, for Mac OS X, Microsoft Windows and Linux
https://tinderjsblog.herokuapp.com/
97 stars 25 forks source link

Keep losing authorisation #164

Open rebroad opened 7 years ago

rebroad commented 7 years ago

I have to keep re-authorising the app with Facebook - I'm unsure how long the authorisation lasts, but it seems to last perhaps a day at the most. I can provide more accurate timings if need be.

mayeaux commented 7 years ago

There's some code in the app somewhere to refresh the auth token automatically but I commented it out because it seemed to be buggy. You might want to check that code, I'm pretty sure we can tell when a token is expired because the calls will start logging to the console as being unauthorized.