costastf / locationsharinglib

A library to retrieve coordinates from an google account that has been shared locations of other accounts.
MIT License
170 stars 29 forks source link

Seems like google is refreshing my access token every few minutes 😥 #114

Open chagai95 opened 9 months ago

chagai95 commented 9 months ago

Did anyone else experience this? Is there anything I can do?

I have it behind this API: https://api.chagai.website/location

costastf commented 9 months ago

Hi, first I would ask how are you getting your cookies. If you are using an account that you are actually using then you might be getting new cookies often. It is suggested to use a third account that is not in everyday use and share your location to that one. When you export the cookies use a cookie deleting add on so the session does not terminate if you close your browser. That's what I can think of right now.

chagai95 commented 9 months ago

Thx for your feedback, I guess it's time for a new account, I was using one especially for this - whereischagai 😂 but I guess I used it too often...

costastf commented 8 months ago

Good luck with a new account. Please feel free to close this if you think that your question is answered.

chagai95 commented 8 months ago

Yep it works great! Just wanted to wait a few hours to see if it still works 😎

chagai95 commented 6 months ago

Hey, I need to reopen this, I just opened a new account and the cookies are invalidated again... I'm going to open another new account just to make sure this is actually happening consistently, or maybe it's related to me having shared my location with this account?

chagai95 commented 6 months ago

it's been working for an hour, I'll keep this updated

chagai95 commented 5 months ago

It's still working so I'm gonna close this, I think it might be related to not having verified some security measure before sharing the location with my main account.

chagai95 commented 1 month ago

I am having this issue again so I'm going to re-open... I tried creating two new accounts already and it still invalidates the caches after a few minutes/hours....